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

PISTON-979: fix migrating templates from system into accounts #6189

Conversation

danielfinke
Copy link
Member

Notification template fields such as to, from, cc, bcc were being lost as only the kz_notification:base_properties were being written to the account-local notification doc during migration. This was being missed on the API req that performed the migration as it would succeed because the missing properties had been inherited from the parent/system during the validate step. But then subsequent requests would be missing the properties because the notification template exists in the account and inheritance is therefore not performed.

@danielfinke danielfinke force-pushed the pr-PISTON-979-cb-notifications-template-migration branch from 3273b82 to f106acf Compare December 9, 2019 19:49
@icehess icehess merged commit bfe1bd0 into 2600hz:master Dec 12, 2019
@icehess
Copy link
Contributor

icehess commented Dec 12, 2019

@danielfinke Thanks. Please also backport this to 4.3.

@danielfinke danielfinke deleted the pr-PISTON-979-cb-notifications-template-migration branch December 13, 2019 17:58
@danielfinke
Copy link
Member Author

@icehess backported in #6200

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

Successfully merging this pull request may close these issues.

2 participants