gvSIG bugs #1617

Can't edit properties of a default symbol (basic)

Added by Manuel Madrid over 11 years ago. Updated over 10 years ago.

Status:Closed% Done:

0%

Priority:UrgentSpent time:-
Assignee:Juan Lucas Domínguez
Category:Symbology
Target version:2.0.0-final
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2064 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

1. Load a vector layer (tested with line and polygon).
2. Right-click on the layer > Properties > Symbols > Choose symbol
3. Select "Basic" symbol library.
4. Select one of the symbols shown.
5. Click on the "Properties" button. Error.

gvSIG.log (227 KB) Manuel Madrid, 02/13/2013 11:17 AM

gvSIG-environ.info (6.58 KB) Manuel Madrid, 02/13/2013 11:17 AM

History

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

The only difference that I can see is that Álvaro executed on:

/usr/lib/jvm/java-7-openjdk-i386/jre

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

  • Status changed from New to Fixed
  • Assignee set to Juan Lucas Domínguez

Fixed implementation of comparator (Java 7 made this bug visible).

Detail: Implementation of TreeSet in Java 7 makes a comparison between each object added and itself, so if we set our own comparator we must expect that comparison (and simply return 0 in the 'compare' method, of course)

gvsig-desktop:r39771

#3 Updated by Álvaro Anguix over 10 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF