Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert to str before condition check #2845

Closed
wants to merge 4 commits into from

Conversation

hjanott
Copy link
Member

@hjanott hjanott commented Feb 13, 2025

closes #2843

@hjanott hjanott added the bug label Feb 13, 2025
@hjanott hjanott added this to the 4.3 milestone Feb 13, 2025
@@ -38,7 +38,7 @@ Extras to do on creation:
- A mapper can be given a 'name' for debugging purposes.
- The 'external_id' maps to the meeting and is required (logged as warning if meeting does not exist). Multiple mappers can map to the same meeting.
- If 'allow_update' is set to false, the mapper is only used if the user does not already exist. If it is not given it defaults to true.
- Mappers are only used if every condition in the list of 'conditions' resolves to true. For this the value for 'attribute' in the payload data has to be a string and match the string or regex given in 'condition'. If no condition is given this defaults to true.
- Mappers are only used if every condition in the list of 'conditions' resolves to true. For this the value for 'attribute' in the payload data has to be a string and match the string or regex given in 'condition'. If no condition is given this defaults to true. If the data is not a string, then it will be cast to a string for this purpose. F.e. "True", "4", "[False, 42, 'Text']" and so on.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"For example" is usually abbreviated with "e.g." (meaning "exempli gratia"), not "f.e.".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's correct. I like the non-Latin variant variant more, though.

@hjanott
Copy link
Member Author

hjanott commented Feb 17, 2025

Closing this and reopening again, because of repository mishap.

@hjanott hjanott closed this Feb 17, 2025
@hjanott hjanott deleted the 2843_accept_more_types_for_condition_check branch February 17, 2025 17:38
@hjanott hjanott removed their assignment Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non string value in SAML data fails in backend action
3 participants