View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
06604Bug reportsSurvey participants (Tokens)public2012-10-02 17:15
ReporterDocSeltsam Assigned Toc_schmitz  
PrioritynormalSeveritycrash 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06604: The Survey URL sent with the registration mail is wrong
Description

The URL to take the survey sent with the registration confirmation mail when using an open to public survey is wrong.

You get an url like this one :

<servername>/limesurvey/index.php/867335/lang-de/tk-nhgb7kyimb3gvps

and need one like

<servername>/limesurvey/index.php/survey/index/sid/867335/token/y5th6h2kceda8in/langcode/de

which is correctly sent within a reminder mail.
I this one is easy to fix.

Steps To Reproduce
  • Create a survey.
  • Initialize the token db.
  • Open the survey to public access
  • register yourself for the survey
  • get the email with the wrong URL
Additional Information

Version 2.00+ Build 120926

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)120926
I will donate to the project if issue is resolvedNo
BrowserFF 15.0.1
Database type & versionmysql 5.0.51a
Server OS (if known) Linux turbowernstrom 2.6.26-2-amd64 #1 SMP Sun Mar 4 23:49:45 UTC 2012 x86_64
Webserver software & version (if known)Apache/2.0
PHP Version5.2.17

Relationships

has duplicate 06627 closedc_schmitz Public registration doesn't work 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-09-28 09:25

administrator   ~20866

Actually the URL is right - just the routing wasn't.

c_schmitz

c_schmitz

2012-09-28 09:27

administrator   ~20867

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

DocSeltsam

DocSeltsam

2012-09-28 13:53

reporter   ~20878

Excellent. This is what I call fast solution :)

DocSeltsam

DocSeltsam

2012-09-30 00:13

reporter   ~20895

Hmm, I patched my system and added the new file versions but I still get a broken URL which is not working. Do I miss smomething?

c_schmitz

c_schmitz

2012-09-30 15:23

administrator   ~20911

Please update the latest build 120930, check again and please let us know if it works now.

DocSeltsam

DocSeltsam

2012-10-01 10:00

reporter   ~20943

I updated to the latest version, 120931, via comfort update.
Noe I'm facing a different problem: After registration I don't get
the confirmation web page and a mail, I'm just redirected back to
the registration page.

c_schmitz

c_schmitz

2012-10-01 11:46

administrator   ~20945

Last edited: 2012-10-01 12:14

Gautam, could this be related to your changes?

gautamgupta

gautamgupta

2012-10-01 20:42

reporter   ~20956

This doesn't look related, but I guess wouldn't it be better if we send out long urls in the emails instead of trying to reroute them? As a side note, that's what I did in the recent commit - https://github.com/LimeSurvey/LimeSurvey/commit/a74aa9afa795568eb3a55a9180ac9d58addbfbf8#L2R201 (and line 242 same file)

DocSeltsam

DocSeltsam

2012-10-02 08:21

reporter   ~20963

Since I want to get my survey started: Should I rather install an older version?

c_schmitz

c_schmitz

2012-10-02 12:23

administrator   ~20975

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

DocSeltsam

DocSeltsam

2012-10-02 12:32

reporter   ~20976

I'll test it this afternoon and report back.

c_schmitz

c_schmitz

2012-10-02 17:15

administrator   ~20987

New Version 2.00+ Build 121002 released. If you are using 120926 or later you should be able to update by ComfortUpdate. All earlier versions need to update manually.

Related Changesets

LimeSurvey: master 3344db67

2012-09-28 02:25

c_schmitz


Details Diff
Fixed issue 06604: The Survey URL sent with the registration mail is not working Affected Issues
06604
mod - application/config/routes.php Diff File
mod - application/helpers/frontend_helper.php Diff File
mod - application/models/Tokens_dynamic.php Diff File

LimeSurvey: master 76a7c591

2012-10-02 05:23

c_schmitz


Details Diff
Fixed issue 06604: The survey URL sent with the registration mail is wrong Affected Issues
06604
mod - application/controllers/RegisterController.php Diff File
mod - application/helpers/frontend_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-09-28 07:46 DocSeltsam New Issue
2012-09-28 09:24 c_schmitz Assigned To => c_schmitz
2012-09-28 09:24 c_schmitz Status new => assigned
2012-09-28 09:25 c_schmitz Note Added: 20866
2012-09-28 09:25 c_schmitz Status assigned => resolved
2012-09-28 09:25 c_schmitz Fixed in Version => 2.00+
2012-09-28 09:25 c_schmitz Resolution open => fixed
2012-09-28 09:27 c_schmitz Changeset attached => LimeSurvey master 3344db67
2012-09-28 09:27 c_schmitz Note Added: 20867
2012-09-28 13:53 DocSeltsam Note Added: 20878
2012-09-30 00:13 DocSeltsam Note Added: 20895
2012-09-30 00:13 DocSeltsam Status resolved => feedback
2012-09-30 00:13 DocSeltsam Resolution fixed => reopened
2012-09-30 15:23 c_schmitz Note Added: 20911
2012-10-01 10:00 DocSeltsam Note Added: 20943
2012-10-01 10:00 DocSeltsam Status feedback => assigned
2012-10-01 11:46 c_schmitz Assigned To c_schmitz => gautamgupta
2012-10-01 11:46 c_schmitz Note Added: 20945
2012-10-01 12:14 c_schmitz Note Edited: 20945
2012-10-01 20:42 gautamgupta Note Added: 20956
2012-10-02 08:21 DocSeltsam Note Added: 20963
2012-10-02 12:23 c_schmitz Changeset attached => LimeSurvey master 76a7c591
2012-10-02 12:23 c_schmitz Note Added: 20975
2012-10-02 12:23 c_schmitz Status assigned => resolved
2012-10-02 12:23 c_schmitz Resolution reopened => fixed
2012-10-02 12:23 c_schmitz Assigned To gautamgupta => c_schmitz
2012-10-02 12:32 DocSeltsam Note Added: 20976
2012-10-02 17:15 c_schmitz Note Added: 20987
2012-10-02 17:15 c_schmitz Status resolved => closed
2012-10-02 17:16 c_schmitz Relationship added has duplicate 06627
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)