From 6d21c7acdec65cfd299c4073cae3668177592352 Mon Sep 17 00:00:00 2001 From: mogoodrich Date: Wed, 18 Dec 2024 09:28:03 -0500 Subject: [PATCH] UIFR-225: Authentication UI Login Page doesn't work after upgrade to OpenMRS 2.6.11 --- .../org/openmrs/ui/framework/extension/ExtensionManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/main/java/org/openmrs/ui/framework/extension/ExtensionManager.java b/api/src/main/java/org/openmrs/ui/framework/extension/ExtensionManager.java index b65d207..1b4d49f 100644 --- a/api/src/main/java/org/openmrs/ui/framework/extension/ExtensionManager.java +++ b/api/src/main/java/org/openmrs/ui/framework/extension/ExtensionManager.java @@ -114,6 +114,7 @@ public Map getExtensionsByClass(Class clazz) */ public List getExtensionPointConfiguration(String pointId) { try { + // we proxy this because this method ends up being called from the AuthenticationUI login page Context.addProxyPrivilege(PrivilegeConstants.GET_GLOBAL_PROPERTIES); String gp = Context.getAdministrationService().getGlobalProperty("ui2.extensionConfig." + pointId); return gp == null ? null : Arrays.asList(gp.split(","));