View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18960Bug reports_ Unknownpublic2023-09-11 19:52
Reporterjuliodiz Assigned Toollehar  
PriorityhighSeverityblock 
Status closedResolutionduplicate 
Product Version6.1.x 
Summary18960: Don't create URL using @@SURVEYURL@@
Description

Hello,

Using @@SURVEYURL@@ don't create survey URL

Steps To Reproduce

Steps to reproduce

Use button with @@SURVEYURL@@

Expected result

URL complete link survey

Actual result

URL: @@SURVEYURL@@

(Write here what happened instead)

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.1.2
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMariaDB
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4.29

Relationships

related to 18961 closedDenisChenu {SURVEYURL} didn't work with plugin using cli event 

Users monitoring this issue

There are no users monitoring this issue.

Activities

juliodiz

juliodiz

2023-07-18 01:47

reporter   ~76117

Email Placeholders

juliodiz

juliodiz

2023-07-18 02:23

reporter   ~76118

//$url = App()->createUrl('survey/index', $urlParams);
$url = App()->createPublicUrl('survey/index', $urlParams);

ollehar

ollehar

2023-07-18 11:01

administrator   ~76124

Hello juliodiz,
This should already be fixed in recent versions.
Can you please check if this issue still exists in the latest version of LimeSurvey and let us know?
Thank you!

juliodiz

juliodiz

2023-07-18 15:25

reporter   ~76136

Thanks!
I am using last version Confort Update and still having this issue.

ollehar

ollehar

2023-07-18 15:31

administrator   ~76138

6.1.2 is not the latest version, it should be 6.1.8. Can you upgrade to this?

juliodiz

juliodiz

2023-07-21 21:35

reporter   ~76234

CONFORTUPDATE don't have yet

juliodiz

juliodiz

2023-07-24 15:17

reporter   ~76244

Its not working using the php script console to run and send the email.

juliodiz

juliodiz

2023-07-24 17:49

reporter   ~76250

createPublicUrl must run at console, createUrl don't create the full url.

CException: ConsoleApplication and its behaviors do not have a method or closure named "createPublicUrl". in /var/www/gosurvey/public/vendor/yiisoft/yii/framework/base/CComponent.php:266

juliodiz

juliodiz

2023-07-24 18:00

reporter   ~76253

Need to change
$url = App()->createUrl('survey/index', $urlParams);
to
$url = App()->createAbsoluteUrl('survey/index', $urlParams);

gabrieljenik

gabrieljenik

2023-09-11 19:52

manager   ~76951

This seems to be a duplicate of 18961
Closing this.

Issue History

Date Modified Username Field Change
2023-07-18 00:12 juliodiz New Issue
2023-07-18 01:47 juliodiz Note Added: 76117
2023-07-18 01:47 juliodiz Bug heat 0 => 2
2023-07-18 02:23 juliodiz Note Added: 76118
2023-07-18 10:53 ollehar Priority none => high
2023-07-18 11:01 ollehar Assigned To => ollehar
2023-07-18 11:01 ollehar Status new => feedback
2023-07-18 11:01 ollehar Note Added: 76124
2023-07-18 11:01 ollehar Bug heat 2 => 4
2023-07-18 15:25 juliodiz Note Added: 76136
2023-07-18 15:25 juliodiz Status feedback => assigned
2023-07-18 15:31 ollehar Note Added: 76138
2023-07-18 15:31 ollehar Status assigned => feedback
2023-07-21 21:35 juliodiz Note Added: 76234
2023-07-21 21:35 juliodiz Status feedback => assigned
2023-07-24 15:17 juliodiz Note Added: 76244
2023-07-24 17:49 juliodiz Note Added: 76250
2023-07-24 18:00 juliodiz Note Added: 76253
2023-09-11 19:52 gabrieljenik Relationship added related to 18961
2023-09-11 19:52 gabrieljenik Status assigned => closed
2023-09-11 19:52 gabrieljenik Resolution open => duplicate
2023-09-11 19:52 gabrieljenik Note Added: 76951
2023-09-11 19:52 gabrieljenik Bug heat 4 => 6