gvSIG bugs #4437

Toolbox is not persisting user configuration

Added by Francisco Puga about 7 years ago. Updated almost 7 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:Geoprocess
Target version:2.4.0-2817 (rev. org.gvsig.desktop-2.0.183)
Severity:Minor Add-on version:
gvSIG version:2.3.1 Add-on build:
gvSIG build: Add-on resolve version:
Operative System: Add-on resolve build:
Keywords:geoprocess, toolbox Proyecto:
Has patch:Yes Hito:
Add-on name:Unknown

Description

The geoprocessing toolbox allows to hide some algorithms or rename the groups and subgroups where they are placed. (Toolbox -> Settings -> Edit group)

This configuration is persisted in the file /plugins/org.gvsig.geoprocess.app.mainplugin/sextante_alg_groups.settings. But when gvSIG is reopened and the file is read it is incorrectly parsed, and it is generated again. The patch is pretty simple, just a bad regexp is used parsing the file.

The patch affects the file es.unex.sextante.gui.toolbox.AlgorithmGroupConfiguration in the org.gvsig.toolbox project. The patch is made for gvSIG 2.3.1 and the tag 1.0.31 of org.gvsig.toolbox

I attach the patch and the compiled jar.

org.gvsig.toolbox.patch Magnifier (772 Bytes) Francisco Puga, 02/26/2017 11:43 AM

org.gvsig.toolbox.gui-1.0.31.jar (875 KB) Francisco Puga, 02/26/2017 11:43 AM

History

#1 Updated by Joaquín del Cerro Murciano about 7 years ago

Gracias por el aporte.
Tengo pendiente subir cambios sobre eso mismo. En mi instalacion con hacer ese cambio no fue suficiente, luego me fallaba en la clase AlgorithmGroupsOrganizer con un null pointer error; pero el error, aunque seguramente es mas problematico de lo que parece (algun follon con los classloaders), era facil de rodear.

Ahora subo los cambios.

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

  • Target version set to 2.4.0-2817 (rev. org.gvsig.desktop-2.0.183)

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

  • Status changed from New to Fixed

#5 Updated by Álvaro Anguix almost 7 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF