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

Bug 336695

Summary: It is not possible to delete parameter values
Product: [Technology] Jubula Reporter: Tim Winselmann <tim.winselmann>
Component: CoreAssignee: Zeb Ford-Reitz <zeb.ford-reitz>
Status: CLOSED FIXED QA Contact: Tim Winselmann <tim.winselmann>
Severity: critical    
Priority: P2 CC: Achim.Loerke
Version: unspecified   
Target Milestone: 1.0   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Winselmann CLA 2011-02-09 06:18:37 EST
If you have specified a parameter value in a Test Case, it is not possible to delete it.

To reproduce you have to:
1. create a new Test Case
2. add a parameter via "Edit Parameters"
3. fill out the parameter value (e.g. "abc")
4. press "Enter" to finish your input
5. mark the parameter value again and delete it with "Del" or "Backspace"
6. press "Enter" again to finish your deletion

The parameter will reappear.
Comment 1 Achim Loerke CLA 2011-03-07 06:05:00 EST
The Parser throws an 
org.eclipse.jubula.client.core.gen.parser.parameter.parser.ParserException: [1,1] expecting: ''', '=', escaped symbol, '$', alphanumeric, char
when parsing an empty String in
GuiParamValueConvert.createTokens()
Comment 2 Zeb Ford-Reitz CLA 2011-03-07 08:02:18 EST
This turned out to be a compound problem. http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=9451acc494c7e7fb58b2f488f06793645c2ff338 corrected the problem mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=336695#c1, but the overall behavior remained unchanged. 

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=bb17fedcbd60fb172981ac3d1fd88277484e8943 seems to have resolved the problem.
Comment 3 Tim Winselmann CLA 2011-03-08 07:08:15 EST
It is now possible to delete parameter values from a parameter with and without a validation.