View Issue Details

IDProjectCategoryView StatusLast Update
15864Bug reportsSurvey editingpublic2020-08-17 14:05
ReporterMazi Assigned Togabrieljenik  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version4.1.2 
Summary15864: When deleting a question at LS 4 the system switches to the "Settings" menu
Description

When deleting a question the system switches to the "Settings" menu which is a little annoying since you were usually just working with the "Structure" menu. At LS 3.x the system stays at the "Structure" menu when deleting a question.

Steps To Reproduce

Delete a question at any test survey

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 4.1.4+200214
I will donate to the project if issue is resolvedNo
BrowserChrome
Database & DB-VersionMySQL 5
Server OS (if known)Ubuntu 18
Webserver software & version (if known)Apache 2
PHP Version7.2.26

Activities

gabrieljenik

gabrieljenik

2020-08-10 18:49

developer   ~59398

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1544

The 'delete' method now supports the 'redirectTo' parameter: to question list or group overview. Depending on that, the sidebar is set as well

user225042

2020-08-12 12:33

  ~59442

Last edited: 2020-08-13 10:49

Tested the issue before pulling the PR, Issue exist. Tested the issue after pulling the PR, below are my findings:
Screenshot 1:Before PR, On clicking on Ok from Confirmation pop up, screen is navigated to Questions list and also to Settings tab
Screenshot 2:After PR, On clicking on Ok from Confirmation pop up, screen is navigated to Questions Group and also to Structure tab
Please refer the attachment for more details, working as expected

gabrieljenik

gabrieljenik

2020-08-12 17:48

developer   ~59451

Last edited: 2020-08-13 10:49

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

lime_release_bot

lime_release_bot

2020-08-17 14:05

administrator   ~59477

Fixed in Release 4.3.11+200817

Related Changesets

LimeSurvey: master b2c63ba5

2020-08-12 17:48:11

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 15864: When deleting a question at LS 4 the system switches to the "Settings" menu (#1544)

Dev: The 'delete' method now supports the 'redirectTo' parameter: to question list or group overview. Depending on that, the sidebar is set as well
Affected Issues
15864
mod - application/controllers/admin/questions.php Diff File
mod - application/controllers/admin/surveyadmin.php Diff File
mod - application/views/admin/survey/topbar/question_topbar.php Diff File

Issue History

Date Modified Username Field Change
2020-02-13 15:27 Mazi New Issue
2020-07-29 21:40 cdorin Priority none => low
2020-07-29 21:40 cdorin Status new => confirmed
2020-08-10 18:49 gabrieljenik Note Added: 59398
2020-08-12 12:33 user225042 Note Added: 59442
2020-08-12 12:33 user225042 File Added: 15864_BeforePR_Settingtab.png
2020-08-12 12:33 user225042 File Added: 15864_AfterPR_Structuretab.png
2020-08-12 17:48 gabrieljenik Changeset attached => LimeSurvey master b2c63ba5
2020-08-12 17:48 gabrieljenik Note Added: 59451
2020-08-12 17:48 gabrieljenik Assigned To => gabrieljenik
2020-08-12 17:48 gabrieljenik Resolution open => fixed
2020-08-13 10:49 swendrich Status confirmed => resolved
2020-08-17 14:05 lime_release_bot Note Added: 59477
2020-08-17 14:05 lime_release_bot Status resolved => closed