View Issue Details

IDProjectCategoryView StatusLast Update
15037Bug reports[All Projects] Survey designpublic2019-07-11 11:44
ReporterMaziAssigned Top_teichmann 
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version3.17.x 
Target VersionFixed in Version 
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

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

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