View Issue Details

IDProjectCategoryView StatusLast Update
15037Bug reportsSurvey editingpublic2020-05-17 15:36
ReporterMazi Assigned To 
PriorityhighSeverityminor 
Status confirmedResolutionopen 
Product Version3.17.x 
Summary15037: Data protection statement texts not save if text for checkbox is too long
Description

If you enter a lengthy text for "data policy checkbox label" no texts at the data policy page gets saved.

Steps To Reproduce

Open the data policy setting of any survey and enter a long text like this:
This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text. This is a long text.

No text will be stored

Additional Information

Solution: Limit the HTML field length to the number of characters allowed at DB level.

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.17.7+190627
I will donate to the project if issue is resolvedNo
BrowserChrome
Database & DB-VersionMySQL 5
Server OS (if known)Ubuntu 14 TLS
Webserver software & version (if known)Apache 2
PHP Version7.2

Relationships

has duplicate 16278 closed "Survey data policy checkbox label" is not accepting some texts in spanish 

Activities

Mazi

Mazi

2019-07-08 14:38

partner   ~52789

@cdorin, should be a simple fix, maybe a nice one for one of the new developers.

DenisChenu

DenisChenu

2019-07-09 10:19

developer   ~52791

Last edited: 2020-05-17 15:36

In my opinion : need 2 solution

  1. Return clean error when survey->save return false
  2. Update HTML with maxlenght

Issue History

Date Modified Username Field Change
2019-07-08 14:37 Mazi New Issue
2019-07-08 14:38 Mazi Note Added: 52789
2019-07-09 10:19 DenisChenu Note Added: 52791
2019-07-11 11:44 cdorin Assigned To => p_teichmann
2019-07-11 11:44 cdorin Status new => assigned
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2020-01-17 15:35 p_teichmann Assigned To p_teichmann => cdorin
2020-05-15 15:23 ollehar Priority none => high
2020-05-15 15:24 ollehar Relationship added has duplicate 16278
2020-05-17 15:36 cdorin Assigned To cdorin =>
2020-05-17 15:36 cdorin Status assigned => confirmed