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

A `path` special property is shadowed in PathProbe (with no message)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 2.2.1
    • 2.1.2
    • General
    • None

      The path special property is undefined in a probe. For example:

      Probes.PathProbe {
          id: megaProbe
          searchPaths: {
              console.error(path)  // undefined
              return FileInfo.joinPaths(path, 'some/path')
          }
          names: 'project.qbs'
      }
      

      Expected behavior

      Special properties like

      • base
      • filePath
      • path
      • and maybe even project (UPD: this seems to work actually)

      have proper values and are not undefined.

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

            kandeler Christian Kandeler
            gooroo Serhii Olendarenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes