After clicking the "Copy" button on a registration template that has a registration attribute, the Obsidian Registration Entry block will throw an error whenever someone tries to register for an event. This happens regardless of whether the copied template is saved or canceled. This error affects any attempt to use the Obsidian Registration Entry block, not just attempts to register for a specific registration instance. This error can be resolved by clearing the cache.
Actual Behavior
Starting the process of copying a registration template that has a registration attribute will cause all attempts to register for an event using the Obsidian Registration Entry block to be met with an error before the user sees any forms.
Expected Behavior
Starting the process of copying a registration template should not cause any errors for people trying to register using the Obsidian Registration Entry block.
Steps to Reproduce
Create a new registration template
Add a registration attribute to the newly created template
Click the "Copy" button on the registration template
Go to the registration page for any event (make sure the page is using the Obsidian Registration Entry block)
See the null reference exception error message.
Issue Confirmation
[X] Perform a search on the Github Issues to see if your bug or enhancement is already reported.
[X] Try to reproduce the problem on a fresh install or on the demo site.
Description
After clicking the "Copy" button on a registration template that has a registration attribute, the Obsidian Registration Entry block will throw an error whenever someone tries to register for an event. This happens regardless of whether the copied template is saved or canceled. This error affects any attempt to use the Obsidian Registration Entry block, not just attempts to register for a specific registration instance. This error can be resolved by clearing the cache.
Actual Behavior
Starting the process of copying a registration template that has a registration attribute will cause all attempts to register for an event using the Obsidian Registration Entry block to be met with an error before the user sees any forms.
Expected Behavior
Starting the process of copying a registration template should not cause any errors for people trying to register using the Obsidian Registration Entry block.
Steps to Reproduce
Issue Confirmation
Rock Version
v15.1, v16.3, v16.4
Client Culture Setting
en-US