Skip to content

Commit 21a0fa0

Browse files
authored
The GAM procedures that call the standard classes to validate the user could not use anything related to the context, such as reading a variable from an HTTP request, because the request did not have the ModelContext set at the time the proc was called. (#1011)
Issue: 205865
1 parent 34a0f81 commit 21a0fa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/src/main/java/com/genexus/webpanels/GXWebObjectStub.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ protected void callExecute(String method, IHttpServletRequest req, IHttpServletR
142142
}
143143
ModelContext modelContext = ModelContext.getModelContext(getClass());
144144
modelContext.setHttpContext(httpContext);
145+
httpContext.setContext(modelContext);
145146
ApplicationContext.getInstance().setPoolConnections(!Namespace.createNamespace(modelContext).isRemoteGXDB());
146147
String loginObject = Application.getClientContext().getClientPreferences().getProperty("IntegratedSecurityLoginWeb", "");
147148
loginObject = GXutil.getClassName(loginObject);

0 commit comments

Comments
 (0)