dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05134
Re: [Bug 547086] [NEW] dhis14-import-datasets-20 characters
Actually this should rather be fixed in the import process rather than in
gui validation. I think 20 characters is what we want. I guess the database
column length is a bit longer to be on the safe side re encoding.
Lars
On Thu, Mar 25, 2010 at 8:24 PM, Jason Pickering <
jason.p.pickering@xxxxxxxxx> wrote:
> Yes, indeed, it was both the shortname and the code field.
>
> Thanks for looking at this, but hopefully, I will never have to do this
> painful process again!
>
> Regards,
> Jason
>
>
>
> On Thu, Mar 25, 2010 at 7:05 PM, Viet Nguyen <phamquocviet@xxxxxxxxx>wrote:
>
>>
>>
>> On Thu, Mar 25, 2010 at 11:01 PM, jason.p.pickering <
>> jason.p.pickering@xxxxxxxxx> wrote:
>>
>>> Public bug reported:
>>>
>>> DHIS 1.4 file imports will allow Dataset names with more than 20
>>> characters while DHIS2 does not. The import works, but then when you
>>> edit a dataset, a validation message says that the dataset name can be
>>> no longer than 20 characters. You must then change the name of the
>>> dataset in order to save any changes
>>>
>>> ** Affects: dhis2
>>> Importance: Undecided
>>> Status: New
>>>
>>> --
>>> dhis14-import-datasets-20 characters
>>> https://bugs.launchpad.net/bugs/547086
>>> You received this bug notification because you are a member of DHIS 2
>>> developers, which is subscribed to DHIS.
>>>
>>>
>>> Status in DHIS 2 - District Health Information Software: New
>>>
>>> Bug description:
>>> DHIS 1.4 file imports will allow Dataset names with more than 20
>>> characters while DHIS2 does not. The import works, but then when you edit a
>>> dataset, a validation message says that the dataset name can be no longer
>>> than 20 characters. You must then change the name of the dataset in order to
>>> save any changes
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>
>> I have just had a look. It seems you are talking about short name.
>>
>> Also looked at other objects . There are changes of the length of some
>> fields in hibernate file.
>>
>> I will have to update those changes for client validation.
>>
>> Will update you when I'm done.
>>
>> Regards.
>>
>> --
>> Viet Nguyen
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+260968395190
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References