View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15742 | Bug reports | RemoteControl | public | 2020-01-20 14:20 | 2020-03-16 13:23 |
Reporter | fabianlehner | Assigned To | c_schmitz | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.0.0-RC14 | ||||
Fixed in Version | 4.1.10 | ||||
Summary | 15742: RC export_responses fails with "undefined table" | ||||
Description | On my newly-upgraded installation, the api call Request: Response: | ||||
Steps To Reproduce | Activate JSON-RPC interface and issue an | ||||
Additional Information | tried on two distinct installations of the same version, on separate servers | ||||
Tags | No tags attached. | ||||
Bug heat | 26 | ||||
Complete LimeSurvey version number (& build) | 4.0.0+200116 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Postgres 10 | ||||
Server OS (if known) | Debian | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | 7.4.1 | ||||
Hi, |
|
Not yet. I am aware of the issues that exist with Posgres though - we will discuss in the team about them and try solving them asap. Can you try to use 4.0.1 and let us know if the issue still persists? |
|
Thanks for your fast response! Database says: Please let me know if I can help further! |
|
The issue might be that in postgres, you have to place an "AS" before the table alias (hence, |
|
Any news on that @cdorin? I could try to dig deeper if you give me a hint where and how the query is built. |
|
I got news, at least. My first guess was wrong; the aliasing in the query is valid also in Postgres. I tried to run the query with quotes added (in application/helpers/admin/export/SurveyDao.php, line 46 on fc998ce) – works! Now I only need to know how to do this cross-DB-safely, since MySQL uses backticks instead of double quotes as table name delimiter per default, afaik (not an expert in MySQL). If you can give me a hint on how this is done in LS/Yii, I'd be happy to create a PR. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=29695 |
|
Thank you! |
|
Fixed in Release 4.1.11+200316 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-20 14:20 | fabianlehner | New Issue | |
2020-01-22 16:08 | cdorin | Assigned To | => cdorin |
2020-01-22 16:08 | cdorin | Status | new => assigned |
2020-01-24 13:03 | fabianlehner | Note Added: 55456 | |
2020-01-24 13:11 | cdorin | Note Added: 55457 | |
2020-01-24 13:17 | fabianlehner | Note Added: 55458 | |
2020-01-24 13:24 | fabianlehner | Note Added: 55460 | |
2020-01-24 13:37 | cdorin | Priority | none => high |
2020-01-29 10:18 | fabianlehner | Note Added: 55557 | |
2020-01-31 23:45 | fabianlehner | Note Added: 55611 | |
2020-03-13 18:33 | c_schmitz | Changeset attached | => LimeSurvey master 532863fb |
2020-03-13 18:33 | c_schmitz | Note Added: 56445 | |
2020-03-13 18:33 | c_schmitz | Assigned To | cdorin => c_schmitz |
2020-03-13 18:33 | c_schmitz | Resolution | open => fixed |
2020-03-13 18:33 | c_schmitz | Status | assigned => resolved |
2020-03-13 18:33 | c_schmitz | Fixed in Version | => 4.1.10 |
2020-03-13 18:33 | c_schmitz | Note Added: 56446 | |
2020-03-13 18:38 | c_schmitz | Issue Monitored: andreicad | |
2020-03-13 18:43 | c_schmitz | Relationship added | has duplicate 15934 |
2020-03-16 13:23 | lime_release_bot | Note Added: 56571 | |
2020-03-16 13:23 | lime_release_bot | Status | resolved => closed |
2021-08-02 17:18 | guest | Bug heat | 24 => 26 |