Filtering Event Registrants List Results in Error #6130
Labels
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Description
When you filter an event registration, you receive the following error: 265|error|500|Entity Validation Error: [PersonPreference/Added/Id=0/Property=Key] The field Key must be a string or array type with a maximum length of '250'.
Actual Behavior
When the event registration has a question in it that is more than 250 characters long (which the system allows), it will display this error when trying to filter the list of registrants (not registrations - registrants). Per Carl at Triumph: This comes from a potential bug in the "Person Preference" filter. It does not allow making a filter when the name of the attribute + the attribute key are longer than 250 characters.
![Screenshot 2024-12-16 at 8 27 00 AM](https://private-user-images.githubusercontent.com/165036974/396112293-522ace72-1b17-41d6-958e-c4c510d6e3fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ1Mzc2OTQsIm5iZiI6MTczNDUzNzM5NCwicGF0aCI6Ii8xNjUwMzY5NzQvMzk2MTEyMjkzLTUyMmFjZTcyLTFiMTctNDFkNi05NThlLWM0YzUxMGQ2ZTNmYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIxOFQxNTU2MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNGRiNjkxMzU5ZGRjYWY4MGRlMWQwMDZmNzNlZTg5ZDlkZmE0OWIxNzA0OGRiZTdiZmI0OWUyOTlhMjQ5NzdiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.E6eAlWfc7UD8-duVw49cbX80qCAkql_A8lmoksxBus0)
Expected Behavior
Event registration filters without issue.
Steps to Reproduce
Issue Confirmation
Rock Version
Rock McKinley 16.6 (1.16.6.9)
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: