Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339054 - Error decoration on project appears after altering project properties and does not disappear
Summary: Error decoration on project appears after altering project properties and doe...
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0   Edit
Assignee: Markus Tiede CLA
QA Contact: Tim Winselmann CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-07 03:26 EST by Alexandra Schladebeck CLA
Modified: 2011-03-15 09:06 EDT (History)
1 user (show)

See Also:


Attachments
Picture of the Test Suite Browser (2.15 KB, image/png)
2011-03-07 03:26 EST, Alexandra Schladebeck CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.