gvSIG bugs #4283

Integer fields are considered as Long

Added by Antonio Falciano almost 8 years ago. Updated about 5 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:Joaquín del Cerro Murciano
Category:Document table
Target version:2.5.0-2913 (rev. org.gvsig.desktop-2.0.241)
Severity:Minor Add-on version:
gvSIG version:2.4.0 Add-on build:
gvSIG build:2850 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

The Integer fields are read as Long e.g. in the Field Manager.

Associated revisions

Revision 44149
Added by Joaquín del Cerro Murciano about 5 years ago

refs #4283. Correcciones en el interface del field manager.

History

#1 Updated by Álvaro Anguix over 7 years ago

  • Target version deleted (2.3.0-2447-final (rev. org.gvsig.desktop-2.0.153))

#2 Updated by Mario Carrera over 5 years ago

  • gvSIG build changed from 2436 to 2850
  • gvSIG version changed from 2.3.0 to 2.4.0
  • Severity changed from Minor to Major

I update the information for gvSIG 2.4:

At this version Integer fields can't be created. If we start editing and we create an Integer field, when we finish editing that field is "Long" type. It's critical when we want to join tables later because fields have to had the same type.


En la versión 2.4 no se pueden crear campos de tipo "Integer". Cuando comenzamos edición, creamos un campo de tipo Entero y finalizamos edición, ese campo es de tipo "Long". Es un gran inconveniente porque por ejemplo para la unión de tablas se deben tener los campos del mismo tipo.

#3 Updated by Álvaro Anguix about 5 years ago

  • Target version set to 2.5.0-2930-final

#4 Updated by Joaquín del Cerro Murciano about 5 years ago

  • Severity changed from Major to Minor

Desde mi punto de vista se trata de un error menor.
El problema aparece cuando los datos que el usuario introduce en el formulario son incorrectos, pidiendo un entero con un tamaño superior al que el entero puede almacenar. En ese caso la aplicacion hace lo que puede para intentar realizar la accion que el usuario ha pedido, cambiendo para ello el tipo de campo a "entero largo" ya que tiene mas tamaño que el entero.

Si el tamaño indicado esta entre 1 y 8 el campo se crea correctamente como entero.

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

  • Target version changed from 2.5.0-2930-final to 2.5.0-2912-RC1 (rev. org.gvsig.desktop-2.0.240)

#6 Updated by Joaquín del Cerro Murciano about 5 years ago

  • Target version changed from 2.5.0-2912-RC1 (rev. org.gvsig.desktop-2.0.240) to 2.5.0-2913 (rev. org.gvsig.desktop-2.0.241)

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

  • Status changed from New to In progress

#8 Updated by Joaquín del Cerro Murciano about 5 years ago

  • Assignee set to Joaquín del Cerro Murciano

#9 Updated by Joaquín del Cerro Murciano about 5 years ago

  • Status changed from In progress to Fixed

En el nuevo interface del "field manager" por defecto pone valores adecuados para el size y precision de enteros y reales.

#10 Updated by Álvaro Anguix about 5 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF