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

Errors due to invalid Json files are not properly handled in the UI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 9.0.0-beta1
    • MCU Support
    • None

    Description

      In case there is an error in the Json file defining the kits, this is not being properly explained to the use. Such error can happen if someone accidentally uses the QtForMCUs 2.2 files as a 2.3 version.

      Screenshot2 shows that there is no indication what the problem is.

      Screenshot3 shows a small improvement that at least shows some errors in the messages.

      Screenshot4 is the intended solution, but was not completed due to lack of time. The code is attached in the patch file.

      The general problem here is that the MCU plugin is not set up to handle errors well.

      Attachments

        1. 0001-Show-error-in-UI.patch
          10 kB
        2. Screenshot2.png
          Screenshot2.png
          189 kB
        3. Screenshot3.png
          Screenshot3.png
          164 kB
        4. Screenshot4.png
          Screenshot4.png
          110 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            rakeller Rainer Keller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes