Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336695 - It is not possible to delete parameter values
Summary: It is not possible to delete parameter values
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 critical (vote)
Target Milestone: 1.0   Edit
Assignee: Zeb Ford-Reitz CLA
QA Contact: Tim Winselmann CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 06:18 EST by Tim Winselmann CLA
Modified: 2011-03-08 07:08 EST (History)
1 user (show)

See Also:


Attachments

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