← Back to team overview

dhis2-devs team mailing list archive

[Bug 1024220] [NEW] text type input not validated for data elements

 

Public bug reported:

Input for data elements that have type = string, are not validating the
length on input. This messes up the offline support, since the system
will store values that are not allowed to upload in the client. It means
that the client will _never_ be able to upload his data values.

Fix should do two things:

1) Make sure that length is validated (<=255)
2) Make sure that old values that are too long, are sliced so that upload will work for users

** Affects: dhis2
     Importance: Critical
     Assignee: Morten Olav Hansen (mortenoh)
         Status: Fix Committed

** Changed in: dhis2
       Status: New => Fix Committed

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

Title:
  text type input not validated for data elements

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  Input for data elements that have type = string, are not validating
  the length on input. This messes up the offline support, since the
  system will store values that are not allowed to upload in the client.
  It means that the client will _never_ be able to upload his data
  values.

  Fix should do two things:

  1) Make sure that length is validated (<=255)
  2) Make sure that old values that are too long, are sliced so that upload will work for users

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


Follow ups

References