gvSIG bugs #1103

"Stop Editing" fails if a plugin finishes edition explicitly (not via menu)

Added by Juan Lucas Domínguez over 11 years ago. Updated over 11 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:Juan Lucas Domínguez
Category:Vector editing
Target version:2.0.0-devel-2053
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2052 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

"Stop Editing" fails if a plugin finishes edition explicitly (not via menu).
This is because the current Window is not necessarily the view in edition (the method execute in StopEditing assumes that)
This problem has been detected in the Cartociudad plugin.


Related issues

Related to Application: gvSIG desktop - gvSIG feature requests #1130: Better management of start/stop editing (without calling ... Closed 09/12/2012

History

#1 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from New to Fixed

gvsig-desktop:r38871
Stop editing using the edition manager to find editing layer, not via GUI.

#2 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from Fixed to New

gvsig-desktop:r38872
Restoring code. Revision 38871 was not good (affected this file only). Bug still open.

#3 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from New to Invalid

This is not a bug. I had misunderstood how the 'edition manager' works. GUI is relevant because you can have more than one view with a layer in editing mode.

#4 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from Invalid to Fixed

#5 Updated by María Maluenda over 11 years ago

  • Status changed from Fixed to Under review

I need instructions in order to check the bugfix.

#6 Updated by Juan Lucas Domínguez over 11 years ago

We cannot test this properly because the "bad situation" cannot be reproduced. All we can do is:

- create view
- add any layer
- start editing
- do some change
- stop editing

If everything is ok, then we must close this bug.
If there is a new bug in editing mode in the future, then we must open a new bug.

#7 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from Under review to New

#8 Updated by Juan Lucas Domínguez over 11 years ago

  • Status changed from New to Fixed

#9 Updated by María Maluenda over 11 years ago

  • Status changed from Fixed to Closed

Closed in gvSIG 2056

Also available in: Atom PDF