Skip to content

Conversation

michaelkaesdorf
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
@skoruba skoruba deleted the branch skoruba:release/2.7.0 May 18, 2025 06:33
@skoruba skoruba closed this May 18, 2025
@michaelkaesdorf
Copy link
Contributor Author

Hi @skoruba, I noticed that this PR didn't make it into the main branch. Is there anything that I can do to improve it, so we can bring it into the app? The bug still persists.

@skoruba skoruba reopened this Oct 15, 2025
@skoruba skoruba changed the base branch from release/2.6.0 to release/2.7.0 October 15, 2025 06:46
@skoruba skoruba merged commit b99139e into skoruba:release/2.7.0 Oct 15, 2025
1 check was pending
@skoruba
Copy link
Owner

skoruba commented Oct 16, 2025

I am sorry Michael for the delay, I merged it. Thank you!

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