This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
* Use Java DB travel database * Select * from person * Edit an entry in the id column * Try to save the changes - you get an error dialog * Close the dialog, the updated value is still there, when it should be reverted back to the original value.
Fixed in the latest drop http://wiki.netbeans.org/attach/DatabaseShowDataModuleReview1/DataViewSuite.zip?version=10
I'm still able to reproduce this issue with latest sources (build 080625). I see error message at the status bar, but wrong value isn't reverted back to the original value and it is still green.
Created attachment 63511 [details] Screenshot of not reverted value.
This is by design. Here is my reasoning: User makes couple of changes in a result page and now when commit it was not committed, since there were some issue. 1st, he may not want to loose all the changes that he made so far just because there is a typo in one of the column or row; 2nd, there is a cancel edit when pressed it will clear out all the changes; 3rd, for long run query we will be running the query and user may have to wait for few seconds instead they could just clear if that is the intent. So now user has more control and freedom. So I feel what we have is a feature by itself, so there is no need to enhance this any further :) If you still think we should do this, reopen and I will force a refresh after commit failed.