myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wtl...@apache.org
Subject svn commit: r1749734 - /myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/component/_ComponentUtils.java
Date Wed, 22 Jun 2016 16:20:01 GMT
Author: wtlucy
Date: Wed Jun 22 16:20:01 2016
New Revision: 1749734

URL: http://svn.apache.org/viewvc?rev=1749734&view=rev
Log:
MYFACES-4051 FacesMessage.Severity always set to ERROR after ValidatorException

Modified:
    myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/component/_ComponentUtils.java

Modified: myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/component/_ComponentUtils.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/component/_ComponentUtils.java?rev=1749734&r1=1749733&r2=1749734&view=diff
==============================================================================
--- myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/component/_ComponentUtils.java
(original)
+++ myfaces/core/branches/1.2.x/api/src/main/java/javax/faces/component/_ComponentUtils.java
Wed Jun 22 16:20:01 2016
@@ -171,7 +171,6 @@ class _ComponentUtils
                     FacesMessage facesMessage = e.getFacesMessage();
                     if (facesMessage != null)
                     {
-                        facesMessage.setSeverity(FacesMessage.SEVERITY_ERROR);
                         context.addMessage(input.getClientId(context), facesMessage);
                     }
                 }
@@ -202,7 +201,6 @@ class _ComponentUtils
                         FacesMessage facesMessage = ((ValidatorException)cause).getFacesMessage();
                         if (facesMessage != null)
                         {
-                            facesMessage.setSeverity(FacesMessage.SEVERITY_ERROR);
                             context.addMessage(input.getClientId(context), facesMessage);
                         }
                     }



Mime
View raw message