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 12:08:03 UTC

[myfaces] branch 2.3.x updated: MYFACES-4486: don't update model (#361)

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

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


The following commit(s) were added to refs/heads/2.3.x by this push:
     new bc6eb055e MYFACES-4486: don't update model (#361)
bc6eb055e is described below

commit bc6eb055e004368ce6f94992a7bc79d5b54b65af
Author: Paul A. Nicolucci <pn...@gmail.com>
AuthorDate: Mon Oct 24 08:07:59 2022 -0400

    MYFACES-4486: don't update model (#361)
---
 .../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 4fea4698c..46b18f122 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()
     {