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

fix(jans-config-api): creating attributes #2743

Closed
moabu opened this issue Oct 27, 2022 · 4 comments
Closed

fix(jans-config-api): creating attributes #2743

moabu opened this issue Oct 27, 2022 · 4 comments
Assignees
Labels
comp-jans-config-api Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Milestone

Comments

@moabu
Copy link
Member

moabu commented Oct 27, 2022

When creating attributes, the backend will complain if the dataType has a value "STRING". Instead the value "string" must be provided to achieve the desired result. The API, however, lists the enums in capital letters. Ideally, the backend should do a toLower() on the value and always validate against lower case (or vice versa). The same applies for all other enums.

@moabu moabu assigned moabu and pujavs and unassigned moabu Oct 27, 2022
@mo-auto mo-auto added comp-jans-config-api Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels Oct 27, 2022
@pujavs
Copy link
Contributor

pujavs commented Oct 28, 2022

Fixed code for case insensitive handling of Enum

Attribute:
image

@moabu
Copy link
Member Author

moabu commented Oct 28, 2022

Thank you . Any reference for the PR that fixed this ?

@pujavs
Copy link
Contributor

pujavs commented Nov 7, 2022

PR 2854

@moabu
Copy link
Member Author

moabu commented Nov 7, 2022

Thank you ! Closing

@moabu moabu closed this as completed Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-config-api Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants