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

Added null-value handling for script arguments and updated properties #2

Merged
merged 1 commit into from May 17, 2022

Conversation

HS24
Copy link
Contributor

@HS24 HS24 commented Apr 29, 2022

Null values in script arguments can be handled in different ways. The handling can be configured by the option handleNullValues with the values asGone (default value) and asEmptyString. This allows the user to choose, if the argument should bee completely removed, or be inserted as empty string.
Also the display texts and descriptions for the different configuration properties were updated to match the existing ones.

Previously the connector threw a NullPointerException if the value of a script argument was null. This prevented the scripts from accepting empty values.

Null values in script arguments can be handled in different ways.
The handling can be configured by the option handleNullValues with the values asGone (default value) and asEmptyString.
@HS24
Copy link
Contributor Author

HS24 commented May 16, 2022

@semancik What do you think about this?

@semancik semancik merged commit e5c44b3 into Evolveum:master May 17, 2022
@semancik
Copy link
Member

Looks good. Thanks for the contribution. Also, thanks for fixing Messages.properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants