Hi Isomorphic,
I have a strange serverside issue (latest 6.1p).
I already narrowed it down so that I think I know whats happening here.
Setting: I have a DataSource I use to upload data. It can be used either in default mode or with configured settings for uploadFieldName (not important here) AND includeFrom (important) via DataSourceGenerator
Reason for the includeFrom: I don't know if the user has country-data in the form "DE", "DEU", "Deutschland", "Germany". They can edit it and it generally works.
I recently changed the the fields-default includeFrom (if nothing is overwritten) from NAME_DE to ISO-2 in order to be more international.
This is where the problems started.
It seems that the length-validator loaded for an field is derived from the default-includeFrom without DataSourceGenerator. Because of this I had a possible length of 40 before, that worked in all cases, even when configured to use ISO-2. Now that ISO-2 is the default, the validator always requests a max length of 2, which fails if configured to use NAME_DE like "Deutschland".
It seems that this problem only occurs in standalone usage (my mailimport).
Does this information ("length validator imported without waiting for DataSourceGenerator-includeFrom changes in standalone mode") already help you to identify the issue?
Best regards
Blama
I have a strange serverside issue (latest 6.1p).
I already narrowed it down so that I think I know whats happening here.
Setting: I have a DataSource I use to upload data. It can be used either in default mode or with configured settings for uploadFieldName (not important here) AND includeFrom (important) via DataSourceGenerator
Reason for the includeFrom: I don't know if the user has country-data in the form "DE", "DEU", "Deutschland", "Germany". They can edit it and it generally works.
I recently changed the the fields-default includeFrom (if nothing is overwritten) from NAME_DE to ISO-2 in order to be more international.
This is where the problems started.
It seems that the length-validator loaded for an field is derived from the default-includeFrom without DataSourceGenerator. Because of this I had a possible length of 40 before, that worked in all cases, even when configured to use ISO-2. Now that ISO-2 is the default, the validator always requests a max length of 2, which fails if configured to use NAME_DE like "Deutschland".
It seems that this problem only occurs in standalone usage (my mailimport).
Does this information ("length validator imported without waiting for DataSourceGenerator-includeFrom changes in standalone mode") already help you to identify the issue?
Best regards
Blama
Comment