gvSIG bugs #905

Renaming a field name corrupts the table

Added by María Maluenda almost 12 years ago. Updated over 11 years ago.

Status:Closed% Done:

0%

Priority:ImmediateSpent time:-
Assignee:Juan Lucas Domínguez
Category:Document table
Target version:2.0.0-rc1
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2049 Add-on resolve version:
Operative System:Linux Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

Open gvSIG
Select table in project manager
Clic New table
Add table--> geodata/tables/concejos.navarra.dbf and clic Ok
Table opens
Start edition table
Select manage field
Select rename field
Write new name in the window
Select accept in manage fields
Check in the table the field change the name

When editing a table, rename a field, lose all data you had and you can not finish editing with saving changes.
--------------------------
Abrir gvSIG
Seleccione Tabla en el gestor de proyectos
Clic Nueva tabla
Agregar la tabla -> geodata/tables/concejos.navarra.dbf y clic Ok
Se abre la tabla
Iniciar la Edición de la tabla
Seleccione Modificar Estructura de la Tabla
Seleccione el campo a Renombrar y clic en la opción Renombrar campo
Escribir el nuevo nombre del campo
Seleccione Aceptar
Compruebe que en la tabla el campo ha cambiado de nombre

Al editar una tabla, cambiar el nombre de un campo, este perderá todos los datos que tenía y no se podrá finalizar la edición guardando los cambios.

History

#1 Updated by Manuel Madrid over 11 years ago

  • Subject changed from Select the manage field, rename field and save the changes in 'document Table' to Renaming a field name corrupts the table
  • Priority changed from Normal to Immediate
  • Target version set to 2.0.0-rc1

#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 behavior of rename field option in the table field manager.

gvsig-desktop:r39125

Test: the steps described should now work. Behavior has changed a little: now editing finishes after changing name. User has to restart editing mode to do more changes.

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

  • Status changed from Fixed to New

When apply steps, appears a message (Unable to rename fields:Can't finish edition) but click ok and the field name is changed. Now, click again in manage field, and rename same field, the records in this field dissapears. I tested in the gvSIG build 2057.

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

  • Status changed from New to Fixed

This bug is similar to #1229 and both are fixed in BN 2058.

Test: the steps described should now work.
If field name is too long, a message apperas and renaming is automatically cancelled.
Editing finishes after changing name (as dialog says). User has to restart editing mode to do more changes.

#5 Updated by Vicent Domenech over 11 years ago

  • Status changed from Fixed to Closed

Closed using gvSIG build 2060 (RC1)

Also available in: Atom PDF