View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17896Bug reportsResponse browsingpublic2022-05-19 17:48
Reporterdiego.souto Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status closedResolutionunable to reproduce 
Product Version5.2.x 
Summary17896: PHPwarning clicking on response link from detailed email notification
Description

Description

As an user... if you're not authenticated and click in the response link from the detailed email notification you'll be redirected to login page and then you'll get a PHPWarning error page

Diagnostics

I've checked this problem seems related to a session attribute (LEMsid) that is not present when you reach the response controller directly (instead of visiting the survey page first).

I've solved it in my local instalation adding a line here ... https://github.com/LimeSurvey/LimeSurvey/blob/2ffb2fd357ab605396367614dcba7073a0698590/application/helpers/common_helper.php#L1286 setting the LEMsid session attribute (but I don't know if this is the best way to solve it)

Steps To Reproduce

Steps to reproduce

  1. Configure a survey with notifications (email for detailed notification)
  2. Send a survey to a participant... and fulfill it
  3. Ensure you're not already logged in limesurvey
  4. Click on response link from email notification
  5. Authenticate

Expected result

You should see the response detailed page

Actual result

You'll see a phpwarning error page

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)Versión 5.2.2+211115
I will donate to the project if issue is resolvedNo
BrowserAny. Tested in Firefox
Database type & versionMySQL 5.7
Server OS (if known)Linux (contenerized, in kubernetes)
Webserver software & version (if known)Apache/2.4.51 (Debian)
PHP Version7.4.25

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2022-04-08 22:14

manager   ~68953

This is not reproducible on master.

c_schmitz

c_schmitz

2022-05-19 17:48

administrator   ~69871

Hello diego.souto,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

c_schmitz

Issue History

Date Modified Username Field Change
2022-02-16 13:15 diego.souto New Issue
2022-02-16 13:15 diego.souto File Added: clipboard-202201050848-npglu.png
2022-02-17 09:41 galads Assigned To => galads
2022-02-17 09:41 galads Status new => confirmed
2022-02-17 09:41 galads Zoho Project Synchronization => |Yes|
2022-03-31 11:59 galads Assigned To galads => gabrieljenik
2022-03-31 11:59 galads Zoho Project Synchronization Yes =>
2022-04-08 22:14 gabrieljenik Status confirmed => ready for testing
2022-04-08 22:14 gabrieljenik Note Added: 68953
2022-04-08 22:14 gabrieljenik Bug heat 0 => 2
2022-05-19 17:48 c_schmitz Status ready for testing => closed
2022-05-19 17:48 c_schmitz Resolution open => unable to reproduce
2022-05-19 17:48 c_schmitz Note Added: 69871
2022-05-19 17:48 c_schmitz Bug heat 2 => 4