dev/core#766 fix failure to save custom data on template-based-event #19308
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
https://lab.civicrm.org/dev/core/-/issues/766
Before
custom data fails to save
![image](https://camo.githubusercontent.com/210fea8c19a59220a60664e777ba7bf50db4ff2b6b6d68e753344a5528590f9e/68747470733a2f2f6c61622e6369766963726d2e6f72672f6465762f636f72652f75706c6f6164732f65343535643732666637383035376235663335346133613464363433656239642f3736362d4576656e742d54656d706c6174652d437573746f6d2d446174612d6e6f742d73617665642d352e33342e616c706861312e676966)
After
saves
Technical Details
I decided that this was not a regression but that the fix was trying to format custom data in a way that was needed for the custom data retrieved from the template defaults but not for submitted custom data so I moved it
Comments