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

Bug 399729

Summary: Eclipse for testers 1.2.2 : Referenced parameters values not updated / are sometimes lost
Product: [Technology] Jubula Reporter: Alexandra Schladebeck <alexandra.schladebeck>
Component: CoreAssignee: Markus Tiede <markus.tiede>
Status: CLOSED FIXED QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: blocker    
Priority: P2 CC: Achim.Loerke, markus.tiede
Version: 1.2.1   
Target Milestone: Kepler   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Alexandra Schladebeck CLA 2013-02-01 09:30:00 EST
While testing the Juno SR2 RC2 build, I ran into the following behaviour: Data entered in referenced parameters is not updated at places where a Test Case is reused until a refresh has taken place. Multiple data changes may also lead to data being lost.

To reproduce:

1. Create a new Test Case "TC1"
2. Via "Edit Parameters" add a parameter "1".
3. Add the data "a" to "1" and save the Test Case.
4. Change the data "a" to "b" and save the Test Case.
--> in the Test Case Browser, "a" is still visible.
5. Close the editor and refresh the project.
--> The data is correct (apart from some kind of what I assume is a caching issue whereby you have to change the selection from TC1 and back to it in the TCB to see the change.

I have entered this as a separate bug from bug 399726 as repeating these steps will, around 30% of the time, lead to the new value being completely lost after refreshing. Both values are then correct, but they are not the most recent.
Comment 1 Alexandra Schladebeck CLA 2013-02-01 09:44:15 EST
Just checked - this problem was also present in SR1
Comment 2 Achim Loerke CLA 2013-02-11 03:12:50 EST
@Triaged:+

Probably to late for a fix in SR2
Comment 3 Alexandra Schladebeck CLA 2013-02-15 09:03:13 EST
Thanks Achim for making me aware of the fact that I had missed out incredibly important information in my description... it should read:

1. Create a new Test Case "TC1"
2. Via "Edit Parameters" add a parameter "1".
3. Add the data "a" to "1" and save the Test Case.
4. Add the Test Case to another Test Case (TC2).
5. In TC1, change the data "a" to "b" and save the Test Case.
--> in the Test Case Browser for the TC2 Test Case, and in the TC2 Test Case itself, "a" is still visible.
5. Close the editor and refresh the project.
--> The data is correct (apart from some kind of what I assume is a caching issue whereby you have to change the selection from TC1 and back to it in the TCB to see the change.

I have entered this as a separate bug from bug 399726 as repeating these steps will, around 30% of the time, lead to the new value being completely lost after refreshing. Both values are then correct, but they are not the most recent.
Comment 4 Markus Tiede CLA 2013-05-15 09:31:15 EDT
As we decided to "switch back" to EclipseLink 2.3.x this issue will thereby be fixed / no longer occurring. For further information why please refer to bug 407730 comment 11 and following.

Please feel free to reopen this issue as soon as we consider switching to EclipseLink 2.4+.
Comment 5 Oliver Goetz CLA 2013-05-21 10:30:03 EDT
I could not reproduce the described erroneous behavior neither by following the given steps nor by trying new ways to evoke this behavior.