Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339054

Summary: Error decoration on project appears after altering project properties and does not disappear
Product: [Technology] Jubula Reporter: Alexandra Schladebeck <alexandra.schladebeck>
Component: UIAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Tim Winselmann <tim.winselmann>
Severity: normal    
Priority: P3 CC: Achim.Loerke
Version: 0.9.0   
Target Milestone: 1.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Picture of the Test Suite Browser none

Description Alexandra Schladebeck CLA 2011-03-07 03:26:09 EST
The project node in the Test Suite Browser receives a cross as a decorator if the a Test Suite in the project has an error *and* if the project properties have been opened and closed with OK (with or without changes). The decorator does not disappear when the error in the Test Suite is removed. A project refresh is necessary to remove the decorator. 

To reproduce:

1. Create a Test Suite that contains an error e.g. missing object mapping
2. Open the project properties and close them with OK (clicking cancel does not result in the decorator being shown)
3. The decorator appears on the project node in the Test Suite Browser. 
4. Fix the error in the Test Suite or delete the Test Suite
5. The decorator remains until a refresh is carried out.

The first question is whether the project node should be decorated at all. If so, then the decoration should disappear when the error source is removed or fixed in the child nodes.
Comment 1 Alexandra Schladebeck CLA 2011-03-07 03:26:39 EST
Created attachment 190515 [details]
Picture of the Test Suite Browser
Comment 2 Markus Tiede CLA 2011-03-08 10:08:01 EST
I disabled the decoration support for the project root as there is (yet) no concept for this.

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=2e1888cd329183c69111e1a05b8bf23f6fdb2d16
Comment 3 Tim Winselmann CLA 2011-03-15 09:06:22 EDT
the project root does not get decorated anymore.