← Back to team overview

dhis2-devs team mailing list archive

[Bug 1488898] Re: WepAPI crashes 500 when sending value exceeding n varchar(n)

 

It might be possible that this is due to the username being too long for
storing in storedby field, suggested by busoye.

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

Title:
  WepAPI crashes 500 when sending value exceeding n varchar(n)

Status in DHIS:
  New

Bug description:
  From the stacktrace returned it seems that the wepapi crashes if it is
  attempted to send data to a text data element with limited text size.
  In this particular I can read in the stacktrace: "root cause:
  org.postgresql.util.PSQLException: ERROR: value too long for type
  character varying(31).

  Was unable to get a stacktrace copied from the Android device
  returning the error for some reason, so screenshots (read: photos of
  the screen) are attached.

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


References