View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
20260Bug reportsQuestion themepublic2025-10-06 15:18
ReporterRGCDTP Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Summary20260: Survey progress bar breaks on back button
Description

When you use the back button and go to the start of the survey, then continue, the progress bar breaks. It gets filled to 100%.

I see that it got fixed on 6.10.3, but we are on 6.14.2 and the issue is still occurring.

Steps To Reproduce

Steps to reproduce

  1. Open Survey
  2. Hit next to get to first question
  3. Answer "no"
  4. Hit Previous button
  5. Answer "yes"
  6. Hit previous button again
  7. Answer "no"

Expected result

Progress bar should calculate according to the progress

Actual result

Progress bar sets to 100 after a few tries

(Write here what happened instead)

TagsNo tags attached.
Attached Files
PH Bug.mp4 (4,716,688 bytes)   
Bug heat12
Complete LimeSurvey version number (& build)6.14.2 + 250610
I will donate to the project if issue is resolvedNo
BrowserChrome, Firefox, and Edge
Database type & versionmysqlnd 8.2.21
Server OS (if known)Linux ip-11-0-33-245.us-west-2.compute.internal 6.1.106-116.188.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 27 07:00:36 UTC 2024 x86_64
Webserver software & version (if known)nginx/1.24.0
PHP Version8.2.21

Users monitoring this issue

There are no users monitoring this issue.

Activities

tibor.pacalat

tibor.pacalat

2025-09-10 12:58

administrator   ~83395

Last edited: 2025-09-10 13:01

This is a new issue. However, I can not reproduce this on another longer survey, so it could be that this is specific to your survey.

How to reproduce this on this specific survey is:

  1. Answer No or Don't know on first question and click Next
  2. Then go to previous question, leave as is and click Next again
  3. Now the bar is at 100%

@gabrieljenik can you take a look at this please?

gabrieljenik

gabrieljenik

2025-09-23 14:27

manager   ~83458

This is hard to reproduce, track and debug. I would suggest performing some unit tests which would be good anyway for this.

tibor.pacalat

tibor.pacalat

2025-09-23 14:38

administrator   ~83459

Hmm, what do you mean it is hard to reproduce? Did you follow my instructions?

gabrieljenik

gabrieljenik

2025-09-23 14:55

manager   ~83460

Sorry, let's just say, hard to track the debugging

RGCDTP

RGCDTP

2025-09-23 22:03

reporter   ~83465

I can see if there's a different way to reproduce it with a simpler survey. Let me know if any assistance is needed.

gabrieljenik

gabrieljenik

2025-09-26 20:17

manager   ~83497

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

gabrieljenik

gabrieljenik

2025-09-26 20:17

manager   ~83498

This needs very carefull testing as the change is in a core function.

DenisChenu

DenisChenu

2025-09-27 12:19

developer   ~83500

Sid we have the same issue in3 or 5.X ?

The fix seems very big here , non ?

What is 5.X/3.X version ?

guest

guest

2025-10-06 14:33

viewer   ~83541

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=39086

LimeBot

LimeBot

2025-10-06 15:18

administrator   ~83546

Fixed in Release 6.15.16+251006

Related Changesets

LimeSurvey: master 90ba4e0a

2025-10-06 14:33

Gabriel Jenik

Committer: GitHub


Details Diff
Fixed issue 20260: Survey progress bar breaks on back button (04457)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
Affected Issues
20260
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2025-09-10 05:16 RGCDTP New Issue
2025-09-10 05:16 RGCDTP File Added: limesurvey_survey_118633 (4).lss
2025-09-10 05:16 RGCDTP File Added: PH Bug.mp4
2025-09-10 12:58 tibor.pacalat Note Added: 83395
2025-09-10 12:58 tibor.pacalat Bug heat 0 => 2
2025-09-10 12:58 tibor.pacalat Assigned To => gabrieljenik
2025-09-10 12:58 tibor.pacalat Status new => assigned
2025-09-10 13:01 tibor.pacalat Note Edited: 83395
2025-09-23 14:27 gabrieljenik Note Added: 83458
2025-09-23 14:27 gabrieljenik Bug heat 2 => 4
2025-09-23 14:38 tibor.pacalat Note Added: 83459
2025-09-23 14:55 gabrieljenik Note Added: 83460
2025-09-23 22:03 RGCDTP Note Added: 83465
2025-09-23 22:03 RGCDTP Bug heat 4 => 6
2025-09-26 20:17 gabrieljenik Assigned To gabrieljenik => DenisChenu
2025-09-26 20:17 gabrieljenik Status assigned => ready for code review
2025-09-26 20:17 gabrieljenik Note Added: 83497
2025-09-26 20:17 gabrieljenik Note Added: 83498
2025-09-27 12:19 DenisChenu Note Added: 83500
2025-09-27 12:19 DenisChenu Bug heat 6 => 8
2025-09-29 19:12 DenisChenu Assigned To DenisChenu => tibor.pacalat
2025-09-29 19:12 DenisChenu Status ready for code review => ready for testing
2025-10-06 14:33 Changeset attached => LimeSurvey master 90ba4e0a
2025-10-06 14:33 guest Note Added: 83541
2025-10-06 14:33 guest Bug heat 8 => 10
2025-10-06 14:34 tibor.pacalat Status ready for testing => resolved
2025-10-06 14:34 tibor.pacalat Resolution open => fixed
2025-10-06 15:18 LimeBot Note Added: 83546
2025-10-06 15:18 LimeBot Status resolved => closed
2025-10-06 15:18 LimeBot Bug heat 10 => 12