akvo / akvo-flow

A data collection and monitoring tool that works anywhere.
http://akvo.org/products/akvoflow/
GNU Affero General Public License v3.0
65 stars 31 forks source link

Long datapoint display names are not inserted into data store #3363

Closed valllllll2000 closed 3 years ago

valllllll2000 commented 4 years ago

Create a survey with text and number use them both for datapoint name. Make it a registration form in a monitoring survey. Fill in the survey on your device, for the text write and answer of more than 1500 chars and submit. When viewing the data on another device you will see that only the number is used as datapoint name, the text disappears

valllllll2000 commented 4 years ago

see screenshot example here https://github.com/akvo/akvo-flow/issues/3317

stellanl commented 4 years ago

Root cause is that displayName is only assembled from the value field, and an answer > 500 chars is stored in the valueText field. Now that displayName can be 1500 chars, we may want to either increase answer max length to 1500 chars to match, or use valueText when assembling displayName.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.