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

Bug 336067

Summary: Several quickfixes communicate internal programming structures
Product: [Technology] Jubula Reporter: mbsbredex
Component: UIAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Oussama <Oussama.Bouchhioua>
Severity: normal    
Priority: P3 CC: Achim.Loerke, tim.winselmann, wayne.beaton
Version: unspecified   
Target Milestone: 1.0   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot
none
Patch that fixes the problem Achim.Loerke: iplog+

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.