View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15213 | Bug reports | Other | public | 2019-08-30 23:22 | 2020-03-09 15:37 |
Reporter | retsofaj | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.0.0-RC3 | ||||
Target Version | 4.0.0-RC4 | Fixed in Version | 4.0.0-RC4 | ||
Summary | 15213: Fresh install from .tar.gz does not allow for editing email templates | ||||
Description | A fresh install from https://www.limesurvey.org/development-release?download=2618:limesurvey400-rc3%20190807targz into an empty database, followed by "create a new survey" and then "click on "Email templates" results into edit areas appearing. In the log I am seeing a 400 error when trying to GET /index.php/admin/emailtemplates/sid/925456/sa/getEmailTemplateData?YII_CSRF_TOKEN=cmYyWFNweHJiS0JrMU5ibzBJbmRwRGFXSkxDVHV5SW3eP3dbLjj4dOeBYFrLXeOS9z25faifLOGs3VL9Y6hjcQ%3D%3D HTTP/1.1" 400" | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 4.0.0-RC3+190807 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Safari | ||||
Database type & version | MySQL | ||||
Server OS (if known) | Ubuntu | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 7.3.8 | ||||
I cannot reproduce this issue. |
|
Everything in running under Docker and behind an Apache proxy. Here goes ... Step 1 Dockerfile - creates an appropriate PHP machineFROM php:apache RUN apt-get update && apt-get install -y \ Step 2 Dockerfile - install LimesurveyFROM limesurvey-apache RUN curl -o /tmp/limesurvey.tar.gz --location 'https://www.limesurvey.org/development-release?download=2618:limesurvey400-rc3%20190807targz' RUN tar zxf /tmp/limesurvey.tar.gz --directory=/var/www/html/ --strip-components=9 \ Step 3 - Apache proxy configuration<VirtualHost *:80> <VirtualHost *:443> Ensures that server-constructed URLs are controlled by the server
</VirtualHost> Step 4 - launch thingsdocker run \ docker run \ The strange thing is that all of the other features seem to be working - the only one that I can see having an issue is the mail templates. Is there any place I can look in the MySQL database to see whether something is missing? |
|
Some more investigating - and starting again from scratch with an empty database, etc. - shows the server responding to https://surveys.engineering.utoronto.ca/index.php/admin/emailtemplates/sid/499984/sa/getEmailTemplateData?YII_CSRF_TOKEN=Uk1HZXR-X0h6VXBDN0k2TmJQWnhNMFFhcUxxdF9zSVorNrPaLnzGL6biHh688yLBLIz1o3rj14hZJriGjAquEA%3D%3D with an 400 error and the claim of "Your request is invalid. The request could not be understood by the server due to malformed syntax.Please do not repeat the request without modifications" I'm not immediately sure how to debug this message as I'm pretty sure that it's coming from the underlying framework. |
|
I installed limesurvey3.17.15+190903.tar.gz using the identical process and the email templates came up cleanly. |
|
I will mark this as resolve. |
|
This is really, really strange as I wiped everything, installed again, and this time Published a port so that I could access the Docker instance directly (e.g. removed the proxy server from the chain). And - of course - it doesn’t work. Can you share the Dockerfile that you used? And (ideally) how I can debug the Yi framework to see what it thinks is happening? I’m assuming that “You request is invalid” errors can be traced somehow. |
|
I used this one https://github.com/adamzammit/limesurvey-docker I just changed the top lines to take the current release. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-30 23:22 | retsofaj | New Issue | |
2019-09-03 16:34 |
|
Assigned To | => markusfluer |
2019-09-03 16:34 |
|
Status | new => feedback |
2019-09-03 16:34 |
|
Note Added: 53402 | |
2019-09-03 19:36 | retsofaj | Note Added: 53407 | |
2019-09-03 19:36 | retsofaj | Status | feedback => assigned |
2019-09-04 04:18 | retsofaj | Note Added: 53408 | |
2019-09-04 13:26 | retsofaj | Note Added: 53422 | |
2019-09-05 11:07 |
|
Note Added: 53454 | |
2019-09-05 11:07 |
|
Status | assigned => resolved |
2019-09-05 11:07 |
|
Resolution | open => fixed |
2019-09-05 11:07 |
|
Fixed in Version | => 4.0.0-RC4 |
2019-09-05 15:05 | retsofaj | Note Added: 53473 | |
2019-09-05 15:14 |
|
Note Added: 53474 | |
2019-09-24 11:30 | c_schmitz | Target Version | => 4.0.0-RC4 |
2020-03-09 15:37 | c_schmitz | Status | resolved => closed |