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(Admin.UI): fix display of idp properties #239

Open
wants to merge 1 commit into
base: release/2.6.0
Choose a base branch
from

Conversation

rosenbach
Copy link
Contributor

This PR fixes a problem with the initialization of properties in the detail view of an Identity Provider in the AdminUI.

The problem is that at the moment, if the property has certain characters, the actual value does not get inserted into the view. Hence, if you do not realize this, and submit the form afterwards, you might end up accidentally altering properties. 😵

The fix happens through a simplification of the whole initialization process: instead of json-encoding it and sending it around via JS (that was the process where the problem originated), we employ more server-side razor-capabilities and remove some of the previous logic. Like that, we can avoid doing some json-encoding completely 🎉

New behaviour:
image

Old behaviour:
image

@skoruba
Copy link
Owner

skoruba commented Oct 24, 2024

Thanks @rosenbach

@skoruba skoruba changed the base branch from main to release/2.6.0 October 24, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants