View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16854 | Bug reports | Survey editing | public | 2020-11-23 14:00 | 2021-04-22 16:57 |
Reporter | galads | Assigned To | gabrieljenik | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | reopened | ||
Product Version | 3.24.6 | ||||
Summary | 16854: Cannot attach PDF to email invitation (email template for surveys) | ||||
Description | When attaching PDF to email template, after saving the attached PDF file, the PDF disappears and it is not attached. (sending invitation to participate in a survey) | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | Version 3.24.6 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | not relevant | ||||
parent of | 16902 | closed | gabrieljenik | publicurl disable attchments |
parent of | 16903 | closed | p_teichmann | Windows server : unable to save attachements |
related to | 16950 | closed | gabrieljenik | publicurl disable attchments |
related to | 17220 | closed | gabrieljenik | Cannot attach PDF to email invitation (email template for surveys) |
I can confirm this bug in 3.25.2 |
|
I have uploaded now an alternative approach according to latest comments. |
|
Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=30795 |
|
Fixed in Release 3.25.4+201215 |
|
Reopening taking into account @c_shmitz comment: public_url is only needed for participant facing pages |
|
Same bug seems to be in version 4.4.13+210315. |
|
Closed after talking with @c_shmitz. |
|
Create new ticket for that 17220 |
|
LimeSurvey: 3.x-LTS 4882e9f4 2020-12-12 16:08 Committer: GitHub Details Diff |
Fixed issue 16854: Cannot attach PDF to email invitation (email template for surveys) (#1679) * Fixed issue 16854: Cannot attach PDF to email invitation (email template for surveys) Previously, at emailtemplates controller's 'update' method, the settings were saved directly using updateAll. After commit '2c8ccdd5', in order to apply the model's validation, the settings are saved using 'setAttributes($attributes)' and 'save()'. The setAttributes method, by default, only assigns 'safe' attributes (attributes that have a validation rule). That excludes the 'attachments' attribute. Passing 'false' as second parameter solves the issue. * Fixed issue 16854: Cannot attach PDF to email invitation (email template for surveys) Adding validation to attachments as to make them a safe attribute |
Affected Issues 16854 |
|
mod - application/models/SurveyLanguageSetting.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-23 14:00 | galads | New Issue | |
2020-11-23 14:00 | galads | Status | new => assigned |
2020-11-23 14:00 | galads | Assigned To | => cdorin |
2020-11-24 11:26 | cdorin | Sync to Zoho Project | => |Yes| |
2020-12-03 20:06 | gabrieljenik | Note Added: 60832 | |
2020-12-07 10:36 | mhaemm | Note Added: 60852 | |
2020-12-10 13:24 | PERSUADEsurvey | Issue Monitored: PERSUADEsurvey | |
2020-12-10 15:11 | gabrieljenik | Note Added: 60912 | |
2020-12-10 15:11 | gabrieljenik | Note Edited: 60912 | |
2020-12-11 14:45 | DenisChenu | Relationship added | parent of 16902 |
2020-12-11 14:50 | DenisChenu | Relationship added | parent of 16903 |
2020-12-12 15:19 | gabrieljenik | Changeset attached | => LimeSurvey 3.x-LTS 4882e9f4 |
2020-12-12 15:19 | gabrieljenik | Note Added: 60939 | |
2020-12-12 15:19 | gabrieljenik | Assigned To | cdorin => gabrieljenik |
2020-12-12 15:19 | gabrieljenik | Resolution | open => fixed |
2020-12-16 17:19 | lime_release_bot | Sync to Zoho Project | Yes => |Yes| |
2020-12-16 17:19 | lime_release_bot | Note Added: 60991 | |
2020-12-16 17:19 | lime_release_bot | Status | assigned => closed |
2021-01-07 08:20 | DenisChenu | Relationship added | related to 16950 |
2021-03-19 21:45 | gabrieljenik | Status | closed => feedback |
2021-03-19 21:45 | gabrieljenik | Resolution | fixed => reopened |
2021-03-19 21:45 | gabrieljenik | Note Added: 63489 | |
2021-03-19 21:50 | gabrieljenik | Issue cloned: 17195 | |
2021-03-24 15:41 | Jmantysalo | Note Added: 63591 | |
2021-03-31 14:56 | gabrieljenik | Issue cloned: 17220 | |
2021-03-31 14:56 | gabrieljenik | Relationship added | related to 17220 |
2021-03-31 14:58 | gabrieljenik | Note Added: 63746 | |
2021-03-31 14:59 | gabrieljenik | Note Added: 63747 | |
2021-04-22 16:57 | gabrieljenik | Status | feedback => closed |