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/10/24 01:00:01 UTC

[myfaces] branch 2.3-next updated: MYFACES-4486: don't update model (#359)

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

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


The following commit(s) were added to refs/heads/2.3-next by this push:
     new 9ba74e554 MYFACES-4486: don't update model (#359)
9ba74e554 is described below

commit 9ba74e5549758817ee4488bd8eaca75fa41e424f
Author: Paul A. Nicolucci <pn...@gmail.com>
AuthorDate: Sun Oct 23 20:59:56 2022 -0400

    MYFACES-4486: don't update model (#359)
---
 .../myfaces/component/validate/ValidateWholeBeanComponent.java    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/component/validate/ValidateWholeBeanComponent.java b/impl/src/main/java/org/apache/myfaces/component/validate/ValidateWholeBeanComponent.java
index 1742d7512..ed6842728 100644
--- a/impl/src/main/java/org/apache/myfaces/component/validate/ValidateWholeBeanComponent.java
+++ b/impl/src/main/java/org/apache/myfaces/component/validate/ValidateWholeBeanComponent.java
@@ -83,7 +83,13 @@ public class ValidateWholeBeanComponent extends UIInput
     {
         // No-op. It does not make sense to allow a converter to be installed.
     }
-    
+
+    @Override
+    public void updateModel(FacesContext context)
+    {
+        // Do nothing! See the following specification issue: https://github.com/eclipse-ee4j/mojarra/issues/4313
+    }
+
     @JSFProperty
     public String getValidationGroups()
     {