Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #18602: When surveys are copied without copying attachments, attachment info is copied but not updated #3430

Conversation

gabrieljenik
Copy link
Collaborator

No description provided.

…ts, attachment info is copied but not updated
{
$isInSurvey = Yii::app()->is_file(
$attachment['url'],
Yii::app()->getConfig('uploaddir') . DIRECTORY_SEPARATOR . "surveys" . DIRECTORY_SEPARATOR . $surveyId,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

<?php if ($attachmentsHaveErrors): ?>
<div class="row">
<div class='col-sm-12'>
<div class="alert alert-danger"><?= gT("There are errors with this template's attachments. Please check them below.") ?></div>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"There are errors with this template's attachments. Please check them below."

maybe more "There are errors with this email's attachments. Please check them below." ?

@Shnoulle Shnoulle added Code review done Version checked for code issue without testing and removed Needs code review labels Sep 8, 2023
@gabrieljenik gabrieljenik added Tested OK This PR has been tested by QA and works as expected and removed Needs testing labels Sep 12, 2023
@tiborpacalat tiborpacalat merged commit b938b37 into master Sep 13, 2023
20 checks passed
@tiborpacalat tiborpacalat deleted the bug/18602-master-Email-Template-Attachments-appear-to-carry-over-with-copied-survey--but-do-not-work branch September 13, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code review done Version checked for code issue without testing Tested OK This PR has been tested by QA and works as expected
Projects
None yet
3 participants