View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
16755Bug reportsExpression Managerpublic2022-10-31 09:06
ReporterMazi Assigned ToDenisChenu  
PrioritylowSeverityminor 
Status closedResolutionunable to reproduce 
Product Version3.24.2 
Fixed in Version3.28.x 
Summary16755: When adding an equation at the "logic" question attribute, the question summary doesn't check for syntax
Description

If I use the "equation" question attribute at the "logic" section, the equation entered there is not checked when viewing the question summary. For other atributes like "questin validation" EM checks for syntax errors or unknows codes.
Since we check the equation at the logic file, it shouldn't be too difficult to get the code from there.

Adding this will help users a lot because they will see errors directly after saving.

Steps To Reproduce

Enter an equation at the "logic" section of the question attributes on the right.
Save
Question summary shows the equation as text.

TagsNo tags attached.
Attached Files
equation_logic_file.png (5,612 bytes)   
equation_logic_file.png (5,612 bytes)   
equation_question_summary.png (7,292 bytes)   
equation_question_summary.png (7,292 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)Version 3.24
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Ubuntu 18
Webserver software & version (if known)Apache
PHP Version7.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2020-12-07 10:28

updater   ~60850

@cdorin, this should be easy to fix. If you assign it to @gabrieljenik, I can coordinate details with him.

cdorin

cdorin

2020-12-28 16:16

reporter   ~61240

Last edited: 2020-12-29 16:35

Before having it assign, do you know in which situations is the equation question attribute being used?

Mazi

Mazi

2020-12-29 16:00

updater   ~61271

Last edited: 2020-12-29 16:35

@cdorin, we often add a question text like "Hidden question for calculating XYZ" and then add the actual equation into the equation field.
At older version the field did not exist and one had to add the equation as question text.

Mazi

Mazi

2022-10-11 11:47

updater   ~72194

@galads, this issue becomes a little anoying at our projects. Any chance to get this fixed at the next sprint?

DenisChenu

DenisChenu

2022-10-29 11:08

developer   ~72474

@Mazi : please : check again.
Seems fixed

DenisChenu

DenisChenu

2022-10-29 11:10

developer   ~72475

tested in 3.28.34 and 5.4.8 : it's OK.

Mazi

Mazi

2022-10-30 18:54

updater   ~72477

@DenisChenu: Yes, at the latest versions this seems fixed. Looks like the customer was using a slightly outdated version. Thanks a lot for the hint!

Issue History

Date Modified Username Field Change
2020-10-19 13:59 Mazi New Issue
2020-10-19 13:59 Mazi File Added: equation_logic_file.png
2020-10-19 13:59 Mazi File Added: equation_question_summary.png
2020-12-07 10:28 Mazi Note Added: 60850
2020-12-28 16:16 cdorin Note Added: 61240
2020-12-28 16:16 cdorin Status new => feedback
2020-12-29 16:00 Mazi Note Added: 61271
2020-12-29 16:00 Mazi Status feedback => new
2020-12-29 16:34 cdorin Priority none => low
2020-12-29 16:34 cdorin Status new => confirmed
2020-12-29 16:34 cdorin Description Updated
2020-12-29 16:34 cdorin Steps to Reproduce Updated
2020-12-29 16:34 cdorin Sync to Zoho Project => |Yes|
2022-10-11 11:47 Mazi Note Added: 72194
2022-10-28 16:24 DenisChenu Assigned To => DenisChenu
2022-10-28 16:24 DenisChenu Status confirmed => assigned
2022-10-29 11:08 DenisChenu Note Added: 72474
2022-10-29 11:08 DenisChenu File Added: Capture d’écran du 2022-10-29 11-07-54.png
2022-10-29 11:08 DenisChenu Bug heat 4 => 6
2022-10-29 11:10 DenisChenu Status assigned => feedback
2022-10-29 11:10 DenisChenu Note Added: 72475
2022-10-30 18:54 Mazi Note Added: 72477
2022-10-30 18:54 Mazi Status feedback => assigned
2022-10-31 09:06 DenisChenu Status assigned => closed
2022-10-31 09:06 DenisChenu Resolution open => unable to reproduce
2022-10-31 09:06 DenisChenu Fixed in Version => 3.28.x