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

dev/core#1233 Fix deleting of campaigns and saving of custom data for campaign and … #15233

Merged
merged 1 commit into from
Sep 7, 2019

Conversation

seamuslee001
Copy link
Contributor

…also ensure that goal_general is not html encoded as it is a wysiwyg field

Overview

This fixes the delete action and also fixes saving custom fields for campaign and also ensures that the goal details are not inappropriately html encoded

Before

Cannot delete a campaign with popups turned off and goal details are html encoded

After

Can delete campaign when popups are turned off and goal details properly stored in the database

ping @eileenmcnaughton @totten

…also ensure that goal_general is not html encoded as it is a wysiwyg field
@civibot
Copy link

civibot bot commented Sep 6, 2019

(Standard links)

@civibot civibot bot added the 5.18 label Sep 6, 2019
@seamuslee001 seamuslee001 changed the title Fix deleting of campaigns and saving of custom data for campaign and … dev/core#1233 Fix deleting of campaigns and saving of custom data for campaign and … Sep 6, 2019
@totten
Copy link
Member

totten commented Sep 6, 2019

I've r-run this locally and confirmed that deletion works in both pop-up and non-pop-up mode.

@eileenmcnaughton
Copy link
Contributor

MOP based on @totten's testing

@@ -55,7 +55,6 @@ public function testSubmit($thousandSeparator) {
'custom' => [],
'campaign_type_id' => 1,
], $form);
var_dump($form);
Copy link
Contributor

Choose a reason for hiding this comment

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

yeah that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants