You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/05/03 11:42:10 UTC

[myfaces-tobago] branch master updated: TOBAGO-1896: 2nd AJAX will fail with JSF 2.3: IllegalArgumentException: Illegal base64 character a

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

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new b6d0c8b  TOBAGO-1896: 2nd AJAX will fail with JSF 2.3: IllegalArgumentException: Illegal base64 character a
b6d0c8b is described below

commit b6d0c8bc648f652d653361411fd0de8ae10f2d35
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu May 3 11:51:30 2018 +0200

    TOBAGO-1896: 2nd AJAX will fail with JSF 2.3: IllegalArgumentException: Illegal base64 character a
    
    * mark code as modified vs. MyFaces
---
 .../tobago/standard/tobago-bootstrap/_version/js/tobago-jsf.js     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-jsf.js b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-jsf.js
index 9e0887a..76924f4 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-jsf.js
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-jsf.js
@@ -7602,7 +7602,12 @@ _MF_SINGLTN(_PFX_XHR + "_AjaxResponse", _MF_OBJECT, /** @lends myfaces._impl.xhr
                     document.forms[mfInternal["_mfSourceFormId"]] : ((elemId) ? fuzzyFormDetection(elemId) : null);
 
             if(node.getAttribute('id').indexOf(this.P_VIEWSTATE) != -1) {
-                mfInternal.appliedViewState = _Lang.trim(this._Dom.concatCDATABlocks(node));//node.firstChild.nodeValue;
+// begin TOBAGO-JSF-JS
+                mfInternal.appliedViewState = _Lang.trim(this._Dom.concatCDATABlocks(node));
+/* original
+                mfInternal.appliedViewState = this._Dom.concatCDATABlocks(node);//node.firstChild.nodeValue;
+*/
+// end TOBAGO-JSF-JS
             } else if(node.getAttribute('id').indexOf(this.P_CLIENTWINDOW) != -1) {
                 mfInternal.appliedClientWindow = node.firstChild.nodeValue;
             }

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.