Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336067 - Several quickfixes communicate internal programming structures
Summary: Several quickfixes communicate internal programming structures
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 1.0   Edit
Assignee: Markus Tiede CLA
QA Contact: Oussama CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 08:58 EST by mbsbredex CLA
Modified: 2013-11-06 14:41 EST (History)
3 users (show)

See Also:


Attachments
Screenshot (7.79 KB, image/png)
2011-02-02 08:58 EST, mbsbredex CLA
no flags Details
Patch that fixes the problem (11.19 KB, patch)
2011-02-08 05:50 EST, mbsbredex CLA
Achim.Loerke: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mbsbredex CLA 2011-02-02 08:58:47 EST
Created attachment 188139 [details]
Screenshot

When selecting one of several quickfixes for the problems, that can occur in jubula, it is possible to see internals of the data structure that are in jubula. For example, one text when selecting to execute a test suite for jubula is: 
  Open Test Suite "org.eclipse.jubula.client.core.model.TestSuitePO@dc931da (ExampleTestSuite)" in Test Suite Editor.
The name of the test suite would suffice in this situation.


Reproduce:
 - Create a new Test Suite
 - Either select no AUT for this test suite or don't add a test case to it
 - Look in the problems view, there should be Warning or Error, telling that there should be an AUT for this Test Suite or that the Test Suite is missing some test cases.
 - Right click this entry and select quick fix
 - Look at the text in the "Select a fix"-List

I've attached a screenshot with the dialog and message I've explained in the description.
Comment 1 mbsbredex CLA 2011-02-08 05:50:58 EST
Created attachment 188504 [details]
Patch that fixes the problem
Comment 2 mbsbredex CLA 2011-02-08 05:51:55 EST
I've attached a patch which should fix the problem. The internal programming structure is no longer visible, the quickfix dialog should only show the name of the Test Suite which will be opened.
Comment 4 Tim Winselmann CLA 2011-02-15 10:27:23 EST
The text in the  "select a fix"-list is now correct and did not show internals of the data structures in jubula.
Comment 5 Wayne Beaton CLA 2013-11-06 14:41:49 EST
I've removed the iplog+ flag from the bug. AFAICT, all the IP is in the attachments.