You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by me...@apache.org on 2022/11/23 13:21:00 UTC

[myfaces] branch main updated: MYFACES-4507: Create contextual storage if it doesn't exist for flow (#389)

This is an automated email from the ASF dual-hosted git repository.

melloware pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/main by this push:
     new df4a51851 MYFACES-4507: Create contextual storage if it doesn't exist for flow (#389)
df4a51851 is described below

commit df4a518513af4a98ec692ea9419c714de108f879
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Wed Nov 23 08:20:54 2022 -0500

    MYFACES-4507: Create contextual storage if it doesn't exist for flow (#389)
---
 impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeContext.java b/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeContext.java
index 7c40bad8f..d0ee3b63f 100644
--- a/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeContext.java
+++ b/impl/src/main/java/org/apache/myfaces/flow/cdi/FlowScopeContext.java
@@ -244,7 +244,7 @@ public class FlowScopeContext implements Context
         List<String> activeFlowMapKeys = getStorageHolder(facesContext).getActiveFlowMapKeys(facesContext);
         for (String flowMapKey : activeFlowMapKeys)
         {
-            ContextualStorage storage = getContextualStorage(facesContext, false, flowMapKey);
+            ContextualStorage storage = getContextualStorage(facesContext, true, flowMapKey);
 
             Map<Object, ContextualInstanceInfo<?>> contextMap = storage.getStorage();
             ContextualInstanceInfo<?> contextualInstanceInfo = contextMap.get(storage.getBeanKey(bean));