When a group member attribute is configured in the following way, the value selected at registration doesn't save in the database.
Attribute configuration that doesn't save from the Sign-Up Register block:
Field Type: Defined Value
Allow Multiple Values: True
Enhance for Long Lists: True
I think the triggering combination is really Enhance for Long Lists and Allow Multiple Values. If one is set to true and the other to false, it saves as expected.
Actual Behavior
The group member attribute value set at registration doesn't save to the database.
Expected Behavior
I would expect the attribute value set at registration to save to the database.
Steps to Reproduce
On a Rock instance running alpha v16.4, navigate to Admin Tools > General Settings
Click on Group Types
Find the Sign-Up Group Type and click that row to edit
Expand Member Attributes
Add a new member attribute with the following configuration:
Field Type: Defined Value
Defined Type: School Grades (really any defined type will work here)
Allow Multiple Values: true
Display Descriptions: true
Enhance For Long Lists: true
Public: true
Show in Grid: true
Save the group type
Navigate to a sign-up project registration page (either logged out or in a private window, these only show in anonymous mode)
Note: we heavily use sign-ups and therefore have all the appropriate projects, blocks, etc. setup. If you're testing on a system without that data and configuration, that will need to be setup prior to completing the testing.
Register for the project
Navigate to People > Sign-Ups and click on the project you registered for
Click on the Attendee list icon for the opportunity you signed up for
Notice that for the individual you just registered, the selected values are missing
Click on the row of the individual you added
Set the group member attribute in that window
Note that now in the attendee list you can see the value set
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
When a group member attribute is configured in the following way, the value selected at registration doesn't save in the database.
Attribute configuration that doesn't save from the Sign-Up Register block:
I think the triggering combination is really Enhance for Long Lists and Allow Multiple Values. If one is set to true and the other to false, it saves as expected.
Actual Behavior
The group member attribute value set at registration doesn't save to the database.
Expected Behavior
I would expect the attribute value set at registration to save to the database.
Steps to Reproduce
On a Rock instance running alpha v16.4, navigate to Admin Tools > General Settings
Click on Group Types
Find the Sign-Up Group Type and click that row to edit
Expand Member Attributes
Add a new member attribute with the following configuration:
Save the group type
Navigate to a sign-up project registration page (either logged out or in a private window, these only show in anonymous mode)
Register for the project
Navigate to People > Sign-Ups and click on the project you registered for
Click on the Attendee list icon for the opportunity you signed up for
Notice that for the individual you just registered, the selected values are missing
Click on the row of the individual you added
Set the group member attribute in that window
Note that now in the attendee list you can see the value set
Issue Confirmation
Rock Version
Rock McKinley 16.4 (1.16.4.1)
Client Culture Setting
en-US