You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by vo...@apache.org on 2023/02/28 12:14:50 UTC

[myfaces] branch main updated: MYFACES-4563: ignore viewMap in debug to avoid OOM

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

volosied 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 a44671ed9 MYFACES-4563: ignore viewMap in debug to avoid OOM
     new 78d0158bf Merge pull request #538 from volosied/MYFACES-4563
a44671ed9 is described below

commit a44671ed9ff7ffbbcc3bf37586786641d512d4d0
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Mon Feb 27 22:46:29 2023 -0500

    MYFACES-4563: ignore viewMap in debug to avoid OOM
---
 impl/src/main/java/org/apache/myfaces/util/DebugUtils.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/impl/src/main/java/org/apache/myfaces/util/DebugUtils.java b/impl/src/main/java/org/apache/myfaces/util/DebugUtils.java
index 97a7a6e66..94d653057 100755
--- a/impl/src/main/java/org/apache/myfaces/util/DebugUtils.java
+++ b/impl/src/main/java/org/apache/myfaces/util/DebugUtils.java
@@ -71,6 +71,7 @@ public class DebugUtils
         IGNORE_ATTRIBUTES.add("jakarta.faces.webapp.COMPONENT_IDS");
         IGNORE_ATTRIBUTES.add("jakarta.faces.webapp.FACET_NAMES");
         IGNORE_ATTRIBUTES.add("jakarta.faces.webapp.CURRENT_VIEW_ROOT");
+        IGNORE_ATTRIBUTES.add("viewMap"); // MYFACES-4563
     }
 
     private static final String JSF_COMPONENT_PACKAGE = "jakarta.faces.component.";