View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 14589 | Bug reports | Expression Manager | public | 2019-03-01 13:26 | 2021-02-08 19:13 |
| Reporter | tammo | Assigned To | |||
| Priority | normal | Severity | partial_block | ||
| Status | acknowledged | Resolution | open | ||
| Product Version | 3.15.x | ||||
| Summary | 14589: Expression in end URL seems to be impossible | ||||
| Description | I want to use the next expression in the end URL: https://toolsforresearch.com/report.R?code={if(!is_empty(rd),rd,"demo")} where rd is a short text question which generates a random code using the following expression: {join(substr('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rand(0,25),1),substr('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rand(0,25),1),substr('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rand(0,25),1),substr('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rand(0,25),1),substr('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rand(0,25),1),substr('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rand(0,25),1))}-{SAVEDID} but I end up with the screen as shown in the attachment: the EM code is the end url is not producing the right code. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | Version 3.15.9+190214 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome | ||||
| Database type & version | MySQL | ||||
| Server OS (if known) | Centos | ||||
| Webserver software & version (if known) | Apache | ||||
| PHP Version | 7.1.26 | ||||
|
Is there a workaround? Can these quotes be interpreted right in some way? |
|
|
OK, it does seem to work with single quotes. |
|
|
Can you check if " is saved as real " or as & quot ; in DB ? |
|
|
You mean the end url or the question? And where to find the end url in the db? |
|
|
Found it. Not very easy to find: in lime_surveys_languagesettings https://toolsforresearch.com/report.R?code={if(!is_empty(rd),rd,"demo")} (no quotes, but " for ") (end url) |
|
|
Ok , then seems it when saving … |
|
|
Shall I mark it as done? |
|
|
@cdorin: does marking is done mean that it is resolved now or that this is not reproducable or that it is not important enough for paying attention to? |
|
|
not fixable ? |
|
|
Never thought that @DenisChenu would say that something that looks so easy at this would not be fixable... Are you sure? I can hardly believe that. |
|
Then yes : not fixable .... Edit |
|
|
Assigned it to myself to add it into the manual |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-03-01 13:26 | tammo | New Issue | |
| 2019-03-01 13:26 | tammo | File Added: Werkgelukmeter.png | |
| 2019-03-01 14:06 | tammo | Note Added: 50727 | |
| 2019-03-01 14:24 | tammo | Note Added: 50728 | |
| 2019-03-01 14:40 | DenisChenu | Relationship added | related to 14113 |
| 2019-03-01 14:42 | DenisChenu | Note Added: 50731 | |
| 2019-03-01 15:06 | tammo | Note Added: 50732 | |
| 2019-03-01 15:34 | tammo | Note Added: 50733 | |
| 2019-03-01 16:27 | DenisChenu | Note Added: 50735 | |
| 2019-11-26 17:45 | cdorin | Assigned To | => cdorin |
| 2019-11-26 17:45 | cdorin | Status | new => assigned |
| 2020-04-01 17:10 | cdorin | Note Added: 56870 | |
| 2020-04-01 17:11 | cdorin | Assigned To | cdorin => |
| 2020-04-01 17:11 | cdorin | Status | assigned => new |
| 2020-04-01 17:11 | cdorin | Status | new => feedback |
| 2020-04-01 17:18 | tammo | Note Added: 56871 | |
| 2020-04-01 17:18 | tammo | Status | feedback => new |
| 2020-04-01 17:39 | DenisChenu | Note Added: 56875 | |
| 2020-04-01 17:46 | tammo | Note Added: 56877 | |
| 2020-04-02 08:26 | DenisChenu | Note Added: 56879 | |
| 2020-04-02 08:26 | DenisChenu | Note Edited: 56879 | |
| 2020-07-29 21:44 | cdorin | Assigned To | => cdorin |
| 2020-07-29 21:44 | cdorin | Status | new => assigned |
| 2020-07-29 21:45 | cdorin | Priority | none => normal |
| 2020-07-29 21:45 | cdorin | Description Updated | |
| 2020-07-29 21:45 | cdorin | Note Added: 59168 | |
| 2021-02-04 10:15 | cdorin | Status | assigned => new |
| 2021-02-08 19:13 | cdorin | Assigned To | cdorin => |
| 2021-02-08 19:13 | cdorin | Status | new => acknowledged |