Community
Participate
Working Groups
Steps to reproduce: 1. Create JPA 2.0 project 2. Generate entities from tables 3. Select one of the generated entities and expand Caching 4. Select the persistence.xml Caching tab 5. Change the cache size to anything 6. Return to the entity caching tab and note the default value is unchanged Note, if you then click on the drop-down the correct updated value will be visible and once selected the value updates properly afterward.
I don't believe this bug actually depends on bug 245431, but the ability to duplicate this behavior does depend on the functionality added by its patch. Removing bug as a dependency, but maintaining the link with this comment.
It seems Combo.setText() does not update the selected index. When changing the selected item, getSelectionIndex() returns -1 causing the text to not be updated. So the fix uses Combo.select() instead if the selected item is one of the combo's items, otherwise setText() is used.
Created attachment 195236 [details] Pascal's proposed patch. Proposed patch from Pascal.
Reopening to go through review process.
Moving JPA specific bugs to new JPA component in bugzilla.
Brian hasn't had a chance to look at this yet due to more pressing issues...deferring to Juno.
This appears to be fixed via some other change. Closing.