Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28310

Package version detection accepts any version as valid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 9.0.0-rc1
    • Qt Creator 9.0.0-beta1
    • MCU Support
    • None
    • 6fae98477bdcd72afdec7e31a8fee2c57fbc623a, 34d0f2e678087ded43f68faadfa88d9e72e6321e

    Description

      Verified for executable version detectors

      To reproduce:

      1) In any JSON kit file (with an executable version detector, for example iar_nxp_mimxrt1050-evk-freertos.json), write any string in the "versions" field of a package with "versionDetection" and look at the packages in Edit>Preferences>Devices>MCU.

      2) If there is no "validation"-field in the JSON, any existing path will be accepted.
      If the "validation"-field is set to the executable listed in "versionDetection", an existing path *without* the executable will have the error message "<path> exists, but does not contain <executable> <version>". Here you can verify that it actually parses the (nonsensical) version string given in step 1

      3) If you point to the correct path (the one containing the executable path given as "validation", the check turns green and the path is expected, even though the version clearly does not match

      The consequences of this is that a user using an unsupported version of a dependency, will not be warned

      Attachments

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

        Activity

          People

            rakeller Rainer Keller
            sikrovel Sivert Krøvel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes