Obsidian Registration Entry does not save registrant fields with same key #5472
Labels
Fixed in v15.2
Fixed in v16.0
Topic: Event Registration
Related to Rock Event Registration.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Please go through all the tasks below
Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.
Registration Templates will allow you to save multiple registrant fields with same attribute key (first prolem). If you do this without realizing it, the obsidian registration block will then overwrite the first field's values with whatever is entered into the second field and not save a value in the second field.
In this example, both the "Test Field 1" and "Test Field 2" fields have a key of "TestField":
When using the obsidian block, and entering a different value in each field:
The first field's value is overwritten with second field's value and a value is not saved in the second field:
When viewing the details though, it shows second field's value for each field (even though a value is not stored in DB for second field):
Expected Behavior
First: would expect that when editing/saving a registration template that it does not allow you to use same key on multiple form fields.
Second: registration entry block should save the values correctly even if fields have same key. (The legacy registration entry block does this).
Actual Behavior
Template allows saving multiple fields with same key, and then the obsidian entry block does not save values correctly.
Steps to Reproduce
Create registration template with multiple fields that have same key
Add registration instance for the template
Use obsidian registration entry block to register someone for that instance and enter different values in the fields with same key.
Rock Version
v14.2, v15.0
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: