gvSIG bugs #479

Comparaciones de DefaultFeatureReference

Added by Ignacio Brodín about 12 years ago. Updated over 11 years ago.

Status:Closed% Done:

100%

Priority:UrgentSpent time:-
Assignee:Cesar Ordiñana
Category:Vector editing
Target version:2.0.0-alpha5
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2045 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:Yes Hito:
Add-on name:Unknown

Description

El bug puede ser reproducido accediendo a una BBDD poniendo una tabla con geometrías y que tenga PK en edición, añadiendo una geometría de tipo línea y sin terminar sesión de edición intentar borrar la misma geometría que se ha añadido con el botón Supr. Esto hace que se utilice el método equals de DefaultFeatureReference.

Cuando se comparan referencias (método equals en DefaultFeatureReference) en las que la primera tiene pk y la segunda oid da un NullPointerException.

DefaultFeatureReference.patch Magnifier (700 Bytes) Ignacio Brodín, 03/28/2012 05:52 PM

Associated revisions

Revision 38106
Added by Cesar Ordiñana about 12 years ago

Solve error when two references are compared with equals, one of them with PKs and the other one with OID.
This is the patch from the bug #479 with some small changes to follow the gvSIG coding conventions.
Fixes #479 .

History

#1 Updated by Manuel Madrid about 12 years ago

  • Priority changed from High to Urgent

#2 Updated by Cesar Ordiñana about 12 years ago

  • Status changed from New to In progress
  • Assignee set to Cesar Ordiñana
  • gvSIG build set to 2045

#3 Updated by Cesar Ordiñana about 12 years ago

Patch applied and tested, with some small changes taking into account the gvSIG coding conventions.

#4 Updated by Cesar Ordiñana about 12 years ago

  • Status changed from In progress to Fixed
  • % Done changed from 0 to 100

Applied in changeset r38106.

#5 Updated by María Maluenda almost 12 years ago

  • Status changed from Fixed to New

Checked in gvSIG build 2049

#6 Updated by María Maluenda almost 12 years ago

  • Status changed from New to Closed

Closed in the gvSIG build 2049

#7 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Status changed from Closed to Under review

#8 Updated by Cesar Ordiñana almost 12 years ago

This ticket has been changed from closed to under review by error perhaps?

#9 Updated by Joaquín del Cerro Murciano over 11 years ago

  • Status changed from Under review to Closed

Also available in: Atom PDF