Select to view content in your preferred language

Error with edit widget in Spanish

2396
11
Jump to solution
06-27-2013 01:21 PM
AuraRamos_Lora
Deactivated User
Hi everyone

The edit widget works perfectly in English, I can attach and edit without problems but when I change the setting to spanish, crashes my application and I can not do more. Someone can help me maybe I'm doing something wrong.

Version 3.3.

This happens me with the viewer for flex and  code source.



Thanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
EstherColero
Occasional Contributor
Hi,

I have reproduced the error. The problem occurs when you select an item that has fields of type double, probably because the decimal separator in Spanish is the comma (,) instead of the dot (.).

This is the stack trace in my debugger when the feature is selected to edit
Error: Error #1502: El tiempo de ejecución del script ha superado el tiempo de espera predeterminado de 15 segundos.  at com.esri.ags.components.supportClasses::DoubleField/format()  at com.esri.ags.components.supportClasses::DoubleField/set data()  at com.esri.ags.components.supportClasses::DoubleField()  at com.esri.ags.components::AttributeInspector/createFormItemComponent()  at com.esri.ags.components.supportClasses::FormField/getRendererInstance()  at com.esri.ags.skins.supportClasses::AttributeInspectorRenderer/commitProperties()  at mx.core::UIComponent/validateProperties()  at spark.components::Group/validateProperties()  at mx.managers::LayoutManager/validateProperties()  at mx.managers::LayoutManager/doPhasedInstantiation()  at mx.managers::LayoutManager/doPhasedInstantiationCallback()


I'm afraid the problem is in the API, not the viewer, so I do not know if there may be a workaround for this version :s

Regards from Spain
Esther

View solution in original post

0 Kudos
11 Replies
BjornSvensson
Esri Regular Contributor
The Edit widget example seems to work fine in Spanish.  At least this basic test:
http://resources.arcgis.com/en/help/flex-viewer/live/index_es.html?config=apps/config-edit.xml

Could you give some more information to reproduce the problem you are seeing?
0 Kudos
AuraRamos_Lora
Deactivated User
Hi

Thank you very much for the prompt reply. I commented that  I do is set to spanish and I have no error number, this is my service already enabled for editing and attach, works very well in English but in Spanish just hangs and I have to close the application.

Download the latest api and this viewer.

service: http://portaljsp.sgm.gob.mx:6080/arcgis/rest/services/Geofisica/SigGeofisica/FeatureServer/0

Code: https://github.com/Esri/arcgis-viewer-flex/tree/3.3-src

Api: http://www.esri.com/apps/products/download/index.cfm?useaction=download.main&downloadid=973

Again appreciate your help
0 Kudos
Juan_CarlosFranco
Esri Contributor
Hi Aura,

Some additional questions to help narrow down the problem:

* What is the last Edit widget action before the error happens?
* Could you describe how your application crashes?
* Is there any specific error showing up when this happens in either the debug Flash Player or your IDE?

Thanks,

-JC.Franco
0 Kudos
AuraRamos_Lora
Deactivated User
I get no one ID, this happens when I activate the widget EDIT and I've selected an item from the active layer.

It will not let me select, activate another tool, just I have to close the explorer

I checked the logs on the ArcGIS Server and there is nothing.

I don´t know if the service configuration is wrong.

I downloaded the last API viewer and FlexViewer Code, I put only this service, change the settings to spanish and the same thing happens, not working .

My  Layer is ready to attach and edit, in case you wish to test.

I must say that in english everything runs perfectly, attach, edit and erase fine.

Thanks for your help
0 Kudos
EstherColero
Occasional Contributor
Hi,

I have reproduced the error. The problem occurs when you select an item that has fields of type double, probably because the decimal separator in Spanish is the comma (,) instead of the dot (.).

This is the stack trace in my debugger when the feature is selected to edit
Error: Error #1502: El tiempo de ejecución del script ha superado el tiempo de espera predeterminado de 15 segundos.  at com.esri.ags.components.supportClasses::DoubleField/format()  at com.esri.ags.components.supportClasses::DoubleField/set data()  at com.esri.ags.components.supportClasses::DoubleField()  at com.esri.ags.components::AttributeInspector/createFormItemComponent()  at com.esri.ags.components.supportClasses::FormField/getRendererInstance()  at com.esri.ags.skins.supportClasses::AttributeInspectorRenderer/commitProperties()  at mx.core::UIComponent/validateProperties()  at spark.components::Group/validateProperties()  at mx.managers::LayoutManager/validateProperties()  at mx.managers::LayoutManager/doPhasedInstantiation()  at mx.managers::LayoutManager/doPhasedInstantiationCallback()


I'm afraid the problem is in the API, not the viewer, so I do not know if there may be a workaround for this version :s

Regards from Spain
Esther
0 Kudos
AuraRamos_Lora
Deactivated User
Muchas gracias Esther.

Seguramente si es ese el problema ya que hice un geoproceso para extraer información raster y si solo utilizo el feature set para corte no hay problema corre bien pero en cuanto hago la intersección  con uno de mis mapas que por supuesto tienen campo double, no me funciona, pero en ingles si.

Lo que se me ocurre es cambiar el properties a español sin cambiar la configuración del local en_US..

Nuevamente muchas gracias y bonito día o noche je je.

Saludos desde México.
0 Kudos
BjornSvensson
Esri Regular Contributor
The problem occurs when you select an item that has fields of type double, probably because the decimal separator in Spanish is the comma (,) instead of the dot (.).


I think this was fixed in the 3.4 release that went public today.  Could you download the 3.4 version and try?
0 Kudos
AuraRamos_Lora
Deactivated User
Thanks

I  already downloaded,  but not running with the latest API,  could you  tell me where I under version 3.4 of the API please.
0 Kudos
BjornSvensson
Esri Regular Contributor
The latest API can be downloaded from http://links.esri.com/flex-api/latest-download
0 Kudos