]
Josef Kopriva closed JBIDE-25380.
---------------------------------
Undo feature works as expected. Closing.
Verified in:
Red Hat JBoss Developer Studio
Version: 11.2.0.AM2
Build id: AM2-v20171123-1513-B1706
Build date: 20171123-1513
Server adapter editor: 'Undo' of most editor actions fails to
correctly undo
----------------------------------------------------------------------------
Key: JBIDE-25380
URL:
https://issues.jboss.org/browse/JBIDE-25380
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift, server
Affects Versions: 4.5.2.AM1
Reporter: Rob Stryker
Assignee: Rob Stryker
Fix For: 4.5.2.AM1
Many actions in the editor cannot be correctly undone. Using the ctrl+z shortcut often
leaves the editor and model in conflicting states. I believe the root cause of this is
that the dependence on databinding and a specific model type is confusing things.
What's more, the specific model class being used is extended from teh wizard model.
This seems completely inappropriate, because the server editor is really just backed by
the server working copy, and doesn't need 80% of the fields that are in the wizard
model.
Also, since a good many actions like changing the connection or the source project, make
no sense and almost never function correctly, many of these actions should really not be
available. They only make it more likely for a user to break his environment.