Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1334

Missing file leads to display of suppressed error messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Labels:
      None

      Description

      The following project...

      import qbs
      
      Project {
          CppApplication {
              name: "mysterious creature"
              files: ["easter bunny"]
          }
          Product {
              name: "tasty food"
              condition: false
              Depends { name: "TheBeautifulSausage" }
          }
      }
      

      Prints the following error messages:

      ERROR: /home/jobor/playground/errorflood/errorflood.qbs:8:5 Error while handling product 'tasty food':
      /home/jobor/playground/errorflood/errorflood.qbs:11:9 Dependency 'TheBeautifulSausage' not found for product 'tasty food'.
      /home/jobor/playground/errorflood/errorflood.qbs:4:5 Error while handling product 'mysterious creature':
      /home/jobor/playground/errorflood/errorflood.qbs:6:16 File '/home/jobor/playground/errorflood/easter bunny' does not exist.
      

      There should be only one error message:

      ERROR: /home/jobor/playground/errorflood/errorflood.qbs:6:16 File '/home/jobor/playground/errorflood/easter bunny' does not exist.
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes