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

Set default for civicrm_message_template.is_reserved #21651

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 28, 2021

Overview

Set default for civicrm_message_template.is_reserved

Before

defaults to NULL

After

defaults to 0

Technical Details

Comments

@civibot
Copy link

civibot bot commented Sep 28, 2021

(Standard links)

@civibot civibot bot added the master label Sep 28, 2021
@totten
Copy link
Member

totten commented Sep 28, 2021

Oh, so the problem you had was a record withis_reserved=NULL? Makes sense.

Agree this is sensible clarification of the default.

FWIW, in the docs MR (preview), it recommends explicitly adding both the reserved+default record. The reserved appears as a point-of-comparison, and the default one is presented for editing.

@eileenmcnaughton
Copy link
Contributor Author

@totten yeah - I do actually have both - but only the one which IS reserved has a value

I hit something else - for some reason it's not loading my text- we can ignore that - so wrote in some html & a subject & hit save & it failed - the issue was there was no text version. I think that should be optional and it wasn't validation it failed - it was a required field 'string' in the translation code - trying to save a copy of an empty string I think

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton eileenmcnaughton merged commit 23d55f6 into civicrm:master Sep 28, 2021
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