← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1441721] Re: Data Validation description limited to 160 characters by UI

 

Hi Lars,

Just to note that there is also a discrepancy between the datatables and the UI for the length of Metadata attribute values. 
The UI says that attribute values must be between 2 and 230 characters yet the table datatype is character varying (255) and we have stored attribute values >230 characters. When you edit the object e.g. Data Element and you have an attribute field with >230 characters only then are you unable to store your change to the unrelated field due to the validation on attribute field length in the UI. Would you see this as a related bug or need another bug report?

Regards,

Elmarie Claasen

Project Manager
Health Information Systems Program
Tel:      041-367 1027
Cell:     082 374 2209
E-mail: elmarie@xxxxxxxx
Skype:  elmarie.claasen52 


This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer .   Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. 
If you cannot access the disclaimer, kindly send an email to disclaimer@xxxxxxxx and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer. 

-----Original Message-----
From: Dhis2-devs [mailto:dhis2-devs-bounces+elmarie=hisp.org@xxxxxxxxxxxxxxxxxxx] On Behalf Of Calle Hedberg
Sent: 09 April 2015 02:07 PM
To: dhis2-devs@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Dhis2-devs] [Bug 1441721] Re: Data Validation description limited to 160 characters by UI

Great!

Calle

On 9 April 2015 at 10:28, Lars Helge Øverland <larshelge@xxxxxxxxx>
wrote:

> Fixed in trunk and 2.18. Removed the max limit completely. Did the 
> same for validation rule group.
>
> --
> You received this bug notification because you are subscribed to the 
> bug report.
> https://bugs.launchpad.net/bugs/1441721
>
> Title:
>   Data Validation description limited to 160 characters by UI
>
> Status in DHIS 2:
>   Fix Committed
>
> Bug description:
>   There is no consistency across DHIS2 with regard to the data type used
>   for fields that typically contain (possibly relatively long)
>   definitions and descriptions.
>
>   For instance, a data validation NAME is specified as variable
>   character(230) - which is excessive (the standard 160 characters make
>   more sense) - whereas the data validation DESCRIPTION is specified as
>   text (unlimited length, which makes sense). BUT THEN THE UI IS
>   LIMITING THE DESCRIPTION TEXT TO 160 CHARACTERS, WHICH IS CLEARLY
>   INADEQUATE.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1441721/+subscriptions
>


--

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19274

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

--
You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1441721

Title:
  Data Validation description limited to 160 characters by UI

Status in DHIS 2:
  Fix Committed

Bug description:
  There is no consistency across DHIS2 with regard to the data type used
  for fields that typically contain (possibly relatively long)
  definitions and descriptions.

  For instance, a data validation NAME is specified as variable
  character(230) - which is excessive (the standard 160 characters make
  more sense) - whereas the data validation DESCRIPTION is specified as
  text (unlimited length, which makes sense). BUT THEN THE UI IS
  LIMITING THE DESCRIPTION TEXT TO 160 CHARACTERS, WHICH IS CLEARLY
  INADEQUATE.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1441721/+subscriptions

_______________________________________________
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



Follow ups

References