View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19057 | Bug reports | Survey participants (Tokens) | public | 2023-08-29 09:48 | 2023-10-30 10:54 |
Reporter | ritapas | Assigned To | mfavetti | ||
Priority | none | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.6.x | ||||
Summary | 19057: incorrect handling of wrong input in create dummy participant form | ||||
Description | if you create 0 dummy participants and press save and close, form is closed, no dummy participant created but popup window says "New dummy participants were added." | ||||
Steps To Reproduce | Steps to reproducecreate a dummy participant set but put 0 in the field Number of participants: , press save and close Expected resultfield Number of participants: should be validated against <1 Actual resultno participant created (correct) but popup window says "New dummy participants were added." | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 5.6.33 (build 230808) | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | n/a | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | n/a | ||||
so many issues here, i have to limit to fixing this particular issue or be stuck forever: frontend: don't allow zero also affects master |
|
master: https://github.com/LimeSurvey/LimeSurvey/pull/3567 |
|
Code is OK, |
|
To reproduce: |
|
after fix: |
|
@mfavetti for master I found following issue: |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35684 |
|
thanks, I will check out the issue you see on master pr |
|
I cannot reproduce the behavior you described on fresh install with php 8.0/8.1/8.2 and debug 0/1/2 on my branch any other info that might help? |
|
here's what I see on my branch: |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35687 |
|
@mfavetti I retested it and now it works as expected, sorry for false alarm ;) |
|
Tested and merged. |
|
Fixed in Release 5.6.43+231030 |
|
LimeSurvey: 5.x 0620055c 2023-10-26 19:28 Committer: GitHub Details Diff |
Fixed issue 19057: incorrect handling of wrong input in create dummy participant form (03568) |
Affected Issues 19057 |
|
mod - application/controllers/admin/Tokens.php | Diff File | ||
mod - application/views/admin/token/dummytokenform.php | Diff File | ||
LimeSurvey: master 28e201fe 2023-10-27 15:40 Committer: GitHub Details Diff |
Fixed issue 19057: incorrect handling of wrong input in create dummy participant form (03567) |
Affected Issues 19057 |
|
mod - application/controllers/admin/Tokens.php | Diff File | ||
mod - application/views/admin/token/dummytokenform.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-29 09:48 | ritapas | New Issue | |
2023-08-29 21:09 | gabrieljenik | Assigned To | => gabrieljenik |
2023-08-29 21:09 | gabrieljenik | Status | new => assigned |
2023-09-08 21:01 | gabrieljenik | Assigned To | gabrieljenik => |
2023-10-23 20:51 | gabrieljenik | Status | assigned => confirmed |
2023-10-24 01:57 | mfavetti | Assigned To | => mfavetti |
2023-10-24 01:57 | mfavetti | Status | confirmed => assigned |
2023-10-24 09:39 | mfavetti | Note Added: 77900 | |
2023-10-24 09:39 | mfavetti | Bug heat | 0 => 2 |
2023-10-24 09:48 | mfavetti | Note Added: 77901 | |
2023-10-24 09:48 | mfavetti | Assigned To | mfavetti => DenisChenu |
2023-10-24 09:48 | mfavetti | Status | assigned => ready for code review |
2023-10-24 10:38 | DenisChenu | Status | ready for code review => in code review |
2023-10-24 15:56 | DenisChenu | Assigned To | DenisChenu => mfavetti |
2023-10-24 15:57 | DenisChenu | Note Added: 77917 | |
2023-10-24 15:57 | DenisChenu | Bug heat | 2 => 4 |
2023-10-25 00:14 | mfavetti | Note Added: 77947 | |
2023-10-25 00:14 | mfavetti | File Added: LimeSurvey - Google Chrome 2023-10-24 15-04-55_720p.mp4 | |
2023-10-25 00:42 | mfavetti | Note Added: 77953 | |
2023-10-25 00:42 | mfavetti | File Added: LimeSurvey - Google Chrome 2023-10-24 15-39-59-converted.mp4 | |
2023-10-25 17:45 | tibor.pacalat | Assigned To | mfavetti => tibor.pacalat |
2023-10-25 17:45 | tibor.pacalat | Status | in code review => ready for testing |
2023-10-26 17:30 | tibor.pacalat | Note Added: 78056 | |
2023-10-26 17:30 | tibor.pacalat | Bug heat | 4 => 6 |
2023-10-26 17:39 | mfavetti | Changeset attached | => LimeSurvey 5.x 0620055c |
2023-10-26 17:39 | mfavetti | Note Added: 78057 | |
2023-10-26 17:39 | mfavetti | Assigned To | tibor.pacalat => mfavetti |
2023-10-26 17:39 | mfavetti | Resolution | open => fixed |
2023-10-26 21:58 | mfavetti | Note Added: 78067 | |
2023-10-27 09:29 | mfavetti | Note Added: 78072 | |
2023-10-27 09:32 | mfavetti | Note Added: 78073 | |
2023-10-27 09:32 | mfavetti | File Added: LimeSurvey - Google Chrome 2023-10-27 00-31-24-converted.mp4 | |
2023-10-27 13:40 | mfavetti | Changeset attached | => LimeSurvey master 28e201fe |
2023-10-27 13:40 | mfavetti | Note Added: 78088 | |
2023-10-27 13:40 | tibor.pacalat | Note Added: 78089 | |
2023-10-27 13:41 | tibor.pacalat | Status | ready for testing => resolved |
2023-10-27 13:41 | tibor.pacalat | Note Added: 78090 | |
2023-10-30 10:54 | LimeBot | Note Added: 78130 | |
2023-10-30 10:54 | LimeBot | Status | resolved => closed |
2023-10-30 10:54 | LimeBot | Bug heat | 6 => 8 |