CCSTUDIO-THEIA: Warnings suppressed when importing multiple projects.

Part Number: CCSTUDIO-THEIA

Related to 1609853

When testing for solutions to the issue in the related question. I found that sometimes I did not get the warning from the import action in CCS_Theia.

The setup

I have one system project, and three executable projects (as in building an .out file)

For this ecample lets name them

SYS
 |- A
 |- B
 \- C

The .projectspec file for project B and C has "the thing" that creates a warning when importing them.

The projectspec files is placed below the same main folder like this

Src
 |-- sys.projectspec
 |-- a
 |    \-- A.projectspec
 |-- b
 |    \-- B.projectspec
 \-- c
      \-- C.projectspec

Steps to recreate:

  1. Select "File" -> "import projects..."
  2. In the import dialog I select the Src folder
  3. All projects is now listed in the dialog
  4. Select all of them
  5. Click "Finish"
  6. Observe no warning is displayed, and also the bell icon shows no messages.

I tried a few combinations:

  • If I import all off them, I get no warning.
  • If I import just B, I get a warning, as a popup.
  • If I import just C, I get a warning, as a popup.
  • If I import B and C, I get only one warning, no popup, but bell icon shows one message.
  • If I import A and B, I get no warning.

Summary

While not a real issue in my particular case, as I was trying to get rid of that warning. I fear this bug could hide other relevant warnings and maybe also errors when importing projects.

  • Hello,

    Thank you for the detailed test case.

    If I import all off them, I get no warning.

    I see the same. Except if you look carefully during the import, you will see the "bell" icon turn to "1" then back to "0" like it got cleared quickly.

    The above test was with importing the projects directly. When I import the top system project (which in turn imports the rest), I see the popup/toast message. 

    If I import just B, I get a warning, as a popup.
    If I import just C, I get a warning, as a popup.

    I see this: 

    If I import B and C, I get only one warning, no popup, but bell icon shows one message.

    I see the exact same as the above. What are you referring to when you say "warning" and "popup"? I only ever see the above message when a message is given.

    If I import A and B, I get no warning.

    I see the same. Except if you look carefully during the import, you will see the "bell" icon turn to "1" then back to "0" like it got cleared quickly.

    The behavior is indeed inconsistent. I believe CCS 12 always consistently showed the warning every time?

  • I see the exact same as the above. What are you referring to when you say "warning" and "popup"? I only ever see the above message when a message is given.

    By warning I mean the message is a warning, as indicated by the yellow triangle.

    By popup, I mean a message on screen, like in your screenshot. Where I have to click the "x" to close it.

    In case of importing B and C, the message is not popping up on screen, but the bell icon shows there is a message, and when I then click on the bell, I get the warning message.

    So the main difference between import C only and import B and C, is that the message is "minimized" in the B+C case.

  • In case of importing B and C, the message is not popping up on screen, but the bell icon shows there is a message, and when I then click on the bell, I get the warning message.

    So the main difference between import C only and import B and C, is that the message is "minimized" in the B+C case.

    Ok, thanks for the clarification. I always get the popup with the B+C case but I can reproduce the rest and that should be enough for engineering to investigate.

    One more detail for B+C, I also noticed that the "bell" icon turned to "2" then quickly to "1" like it the first got cleared quickly.