Bug #1395
closedgeo cov and temporal cov dialogs shouldn't increment revision
0%
Description
The current morpho dialogs for geographic coverage (Documentation|Geographic
Coverage...") and temporal coverage (Documentation|Temporal Coverage...) cause
the packge revision number to be incremented when the user presses "OK". Thhis
is incorrect behavior. When the user presses cancel, no changes should be made
to the metadata regardless of what the user has done in the window. If the user
presses "OK", the changes the user has made should be made in a temporary
metadata file, but the revision number of the package should NOT be incremented
until the user hits "File|Save...". Up until that point, the user should be
able to discard all changes to the package by closing the package without saving
(ie, changes to the package must require an explicit "File|Save..." before they
are permenant). Right now the user can still disregard the changes by choosing
not to save the package, but if the coverage dialogs are opened and closed
multiple times the revision number is incremented each time even without hitting
"File|Save...".