* Avoid NPE if realm configuration contains invalid required action configuration
If users removed implementations or renamed the provider id of a required action, then the realm configuration might contain dangling references to required actions.
If we then try to find the RequiredActionFactory to determine the if the required action is configurable then NPE is thrown. This PR prevents the NPE with a guard clause.
Fixes#32624
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
* Log a warning if required action with missing provider is detected.
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
---------
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
(cherry picked from commit d28adcb81bc41d8ddd2aae11eaafae8846c6f5be)
Co-authored-by: Thomas Darimont <thomas.darimont@googlemail.com>
Closes#31165
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
(cherry picked from commit 0410653e71aa474c7e39128ffcc89f54a6e49f21)
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Closes#32100
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
* better unset check
fixes: #32059
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* better explanation
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* fix min value
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* Steal some code from `react-hook-form`
Signed-off-by: Jon Koops <jonkoops@gmail.com>
---------
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
(cherry picked from commit 862854bc2915516a1d7a9b3874c39bdfc48f8422)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Closes#32178
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
(cherry picked from commit 36ad5fb3bd365314e77bd4103d62e91d89111066)
Closes#31726
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Douglas Palmer <dpalmer@redhat.com>
Signed-off-by: mposolda <mposolda@gmail.com>
* Use TextControl in StringComponent
This makes that the field is required and partially fixes:
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
#26963
* enable test-id override
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
---------
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
(cherry picked from commit 0b5f42f95d13296a124c64a63ee355d7a1c962dd)
* Backport to make realm the namespace so we can change the bundle
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
* fix
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
---------
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
fixes: #31070
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
(cherry picked from commit 932a92a31688e08a95e174c99e6cc15fcf2cfa14)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* add onOpenChange to all dropdown and selects
fixes: #31166
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* fixed test
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
---------
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
(cherry picked from commit b5597c629381685301f17ebd932732dd1450b817)
* doc: add a note about setting proxy=edge
closes: #30945
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* Update docs/guides/operator/basic-deployment.adoc
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>