gvSIG bugs #750
"Undo" tool (editing) does not work always
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Normal | Spent time: | - | |
Assignee: | Juan Lucas Domínguez | |||
Category: | Vector editing | |||
Target version: | 2.0.0-devel-2050 | |||
Severity: | Add-on version: | |||
gvSIG version: | 2.0.0 | Add-on build: | ||
gvSIG build: | Add-on resolve version: | |||
Operative System: | Add-on resolve build: | |||
Keywords: | Proyecto: | |||
Has patch: | No | Hito: | ||
Add-on name: | Unknown |
Description
For selection operations it works (you can undo a selection change)
But when you move a vertex in a geometry and undo, it does not work.
After setting a new geometry, the source code behaves as if:
feature --> the new feature
feature.getSource() --> the old feature (?) This is not true, I think,
so the "old geometry" is the same as the new geometry, and when you undo, the geometry is the same.
This bug is different from: https://devel.gvsig.org/redmine/issues/468 which has been fixed.
Related issues
History
#1 Updated by Juan Lucas Domínguez almost 12 years ago
This is the suspicious line in DefaultFeatureStore.java:
commands.update(feature, feature.getSource());
feature.getSource() has the old geometry?
#2 Updated by Manuel Madrid almost 12 years ago
- Category set to Vector editing
- Target version set to 2.0.0-rc1
#3 Updated by Juan Lucas Domínguez almost 12 years ago
- Status changed from New to Fixed
- Assignee changed from Joaquín del Cerro Murciano to Juan Lucas Domínguez
Does not work after bugfix for:
https://devel.gvsig.org/redmine/issues/468
#4 Updated by Juan Lucas Domínguez almost 12 years ago
I meant: Does not happen after bugfix for:
https://devel.gvsig.org/redmine/issues/468
#5 Updated by Juan Lucas Domínguez almost 12 years ago
- Target version changed from 2.0.0-rc1 to 2.0.0-devel-2050
#6 Updated by María Maluenda over 11 years ago
- Status changed from Fixed to Closed
Closed in the gvSIG build 2051