View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18464Bug reportsPluginspublic2022-11-08 12:48
Reporterbartoszm85 Assigned To 
PrioritynormalSeverityminor 
Status ready for code reviewResolutionopen 
Product Version5.4.x 
Summary18464: Min/max settings doesn't work for question attribute with type of integer
Description

The plugin can add its own question attributes. If I add the question attribute with integer type, it doesn't recognize min/max settings and in the HTML generated view I can set the value beyond min/max. Min/max settings work for simple plugins settings but not for plugin question attributes.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)5.3.x & 5.4.x
I will donate to the project if issue is resolvedNo
Browser
Database type & versiondoesn't matter
Server OS (if known)
Webserver software & version (if known)
PHP Versiondoesn't matter

Users monitoring this issue

User List DenisChenu

Activities

ollehar

ollehar

2022-11-07 11:41

administrator   ~72589

@DenisChenu something for you?

DenisChenu

DenisChenu

2022-11-07 11:43

developer   ~72592

Unsure ? I hate the new way of QuetsionAttribute system.
All must be rewritten currently.
Related to https://bugs.limesurvey.org/view.php?id=18428 ?

Else : sorry : this week a lot of work for client, some time delay.

I take a look this afternoon.

DenisChenu

DenisChenu

2022-11-07 11:44

developer   ~72593

@bartoszm85 can you send a sample plugin please ?

Just with a test settings, no need a working plugin.

DenisChenu

DenisChenu

2022-11-08 12:11

developer   ~72629

Not related to plugins

See file_upload question type

DenisChenu

DenisChenu

2022-11-08 12:11

developer   ~72630

DenisChenu

DenisChenu

2022-11-08 12:36

developer   ~72632

Min/max settings work for simple plugins settings but not for plugin question attributes.

????????????????????

DenisChenu

DenisChenu

2022-11-08 12:48

developer   ~72633

https://github.com/LimeSurvey/LimeSurvey/pull/2708

Issue History

Date Modified Username Field Change
2022-11-06 16:59 bartoszm85 New Issue
2022-11-07 11:41 ollehar Priority none => normal
2022-11-07 11:41 ollehar Note Added: 72589
2022-11-07 11:41 ollehar Bug heat 0 => 2
2022-11-07 11:43 DenisChenu Note Added: 72592
2022-11-07 11:43 DenisChenu Bug heat 2 => 4
2022-11-07 11:44 DenisChenu Note Added: 72593
2022-11-07 11:44 DenisChenu Assigned To => DenisChenu
2022-11-07 11:44 DenisChenu Status new => feedback
2022-11-08 12:11 DenisChenu Status feedback => confirmed
2022-11-08 12:11 DenisChenu Note Added: 72629
2022-11-08 12:11 DenisChenu Note Added: 72630
2022-11-08 12:11 DenisChenu File Added: Capture d’écran du 2022-11-08 12-11-10.png
2022-11-08 12:12 DenisChenu Status confirmed => assigned
2022-11-08 12:36 DenisChenu Note Added: 72632
2022-11-08 12:36 DenisChenu Summary Min/max settings doesn't work for plugin added question attribute with type of integer => Min/max settings doesn't work for question attribute with type of integer
2022-11-08 12:47 DenisChenu Assigned To DenisChenu =>
2022-11-08 12:47 DenisChenu Status assigned => ready for code review
2022-11-08 12:48 DenisChenu Issue Monitored: DenisChenu
2022-11-08 12:48 DenisChenu Bug heat 4 => 6
2022-11-08 12:48 DenisChenu Note Added: 72633