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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes