Hi. Great module! Working really well for me.
I am having an issue trying to edit a partially completed survey.
If I view the response node (node/#), it has a heading saying "Complete the answer", and under that is a link titled "Respond to the survey". When I hover over the "Respond to the survey" item, the address it wants to take me to is "node/#/edit". For any other link in my site, hovering over the link shows an address like "example.com/foo". When I click on the "Respond to the survey" link, I get a browser error saying it can't find the page. The browser is looking for an absolute address of node/#/edit (rather than example.com/node/#/edit) which obviously doesn't exist.
Any idea why the address attached to this link is not including the site name? (and how to fix this)? I do have Domain Access installed. Not sure if that is messing up the url generation for this link.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Fix_answer_complete_link-2167543-3.patch | 1.14 KB | thedut |
Comments
Comment #1
hanksterr7 commentedFound the problem. Someone care to make this into a patch? (beyond my expertise).
In ls_answ\ls_answ.module, lines 918 and 926 there are two calls to url() function. These calls don't include array('absolute' => TRUE) as a second parameter. By adding this parameter to these two calls, my issue went away.
Comment #2
hvalentim commentedSeems this solution would apply as well: https://drupal.org/comment/8293737#comment-8293737
Comment #3
thedut commentedYes the linked patch from #2 fixes this issue.
I attach it on the current issue.
I will include it into the next release.
Comment #4
hanksterr7 commentedThank you!
Comment #5
thedut commentedFixed into the LimeSurvey Sync 7.x-1.6 release and 6.x-1.6 release.