[JBoss JIRA] (RF-13600) metamer: malformedXML error on each ajax request on WildFly
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13600?page=com.atlassian.jira.plugin.s... ]
Michal Petrov commented on RF-13600:
------------------------------------
There has been a change in viewState handling between JSF 2.0 and 2.2.
In 2.0 the expected id of the viewState input element is {{form:javax.faces.ViewState}}, in 2.2 it's {{form:javax.faces.ViewState}}{color:red}{{:0}}{color}, the XML response from the server uses the old format while the JavaScript object handling the update expects the new one.
There are similar failures if you deploy Metamer 5.0.x to AS 7.1.1.
It's also been reported in [JAVASERVERFACES-2907|https://java.net/jira/browse/JAVASERVERFACES-2907]
> metamer: malformedXML error on each ajax request on WildFly
> -----------------------------------------------------------
>
> Key: RF-13600
> URL: https://issues.jboss.org/browse/RF-13600
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.5, 4.3.6
> Environment: 4.3.x Metamer
> WildFly 8.0.0.Final, (works on EAP 6.2)
> Reporter: Jiří Štefek
>
> Works in 5.0.x and 4.5.x Metamer but not in 4.3.x .
> On every ajax request there is malformedXML error and the metamer status is set to ERROR. But all the outputs are updated and it seems that all is working (except the status and autocomplete) as expected.
> # open e.g. http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
> # click on the submit button
> # see the status 'ERROR'
> # open log, at the end you can see:
> {code}
> error[09:58:23.320]: Received 'error@malformedXML' event from <input id=form:commandButton ...>
> error[09:58:23.322]: [status=200] During update: javax.faces.ViewState not found
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable i s not a constructor - Metamer
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13601?page=com.atlassian.jira.plugin.s... ]
Juraj Húska resolved RF-13601.
------------------------------
Resolution: Rejected
Rejected as it is not a bug of framework but bug in the Metamer application.
It is caused by using both component binding and {{SessionScoped}} beans.
Created RFPL-3325 with more info to fix the Metamer.
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable i s not a constructor - Metamer
> --------------------------------------------------------------------------------------------------------
>
> Key: RF-13601
> URL: https://issues.jboss.org/browse/RF-13601
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.6
> Environment: Firefox 25 & Chrome
> EAP & JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Labels: regression
> Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable i s not a constructor - Metamer
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13601?page=com.atlassian.jira.plugin.s... ]
Juraj Húska commented on RF-13601:
----------------------------------
The issue was introduced by [this|https://github.com/richfaces/richfaces-qa/commit/38b9b1192d2eab5510c...] commit.
Basically it does not work with {{SessionScoped}} managed bean. In {{4.3.5}}, the {{RichDataTableBean}} was {{ViewScoped}}.
The motivation for changing the scope were testing of stateless views - RFPL-3267.
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable i s not a constructor - Metamer
> --------------------------------------------------------------------------------------------------------
>
> Key: RF-13601
> URL: https://issues.jboss.org/browse/RF-13601
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.6
> Environment: Firefox 25 & Chrome
> EAP & JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Labels: regression
> Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable i s not a constructor - Metamer
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13601?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13601:
-----------------------------
Summary: DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable i s not a constructor - Metamer (was: DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor)
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable i s not a constructor - Metamer
> --------------------------------------------------------------------------------------------------------
>
> Key: RF-13601
> URL: https://issues.jboss.org/browse/RF-13601
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.6
> Environment: Firefox 25 & Chrome
> EAP & JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Labels: regression
> Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13601?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13601:
-----------------------------
Priority: Major (was: Critical)
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
> ---------------------------------------------------------------------------------------------
>
> Key: RF-13601
> URL: https://issues.jboss.org/browse/RF-13601
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.6
> Environment: Firefox 25 & Chrome
> EAP & JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Labels: regression
> Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13601?page=com.atlassian.jira.plugin.s... ]
Juraj Húska commented on RF-13601:
----------------------------------
I can confirm that it is metamer issue. Now trying to find the change which caused it.
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
> ---------------------------------------------------------------------------------------------
>
> Key: RF-13601
> URL: https://issues.jboss.org/browse/RF-13601
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.6
> Environment: Firefox 25 & Chrome
> EAP & JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Priority: Critical
> Labels: regression
> Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13602) Problem with ajax request in Internet Explorer 11
by Walter Maidub (JIRA)
Walter Maidub created RF-13602:
----------------------------------
Summary: Problem with ajax request in Internet Explorer 11
Key: RF-13602
URL: https://issues.jboss.org/browse/RF-13602
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: base functionality
Affects Versions: 4.0.0.Final
Environment: Windows 2008, JBoss AS 7.x
Reporter: Walter Maidub
Fix For: 4.0.0.Final
I have a form with a FileUploader component (disabled) and a rich: select and this one is populated with 3 options, when one of them is selected in the managed bean a boolean variable is set to "true" and the FileUploader panel is updated to enable it.
<rich:select id="tipoArchivo" value="#{Bean.tipoArchivo}"
required="true" listWidth="320px" styleClass="rf-select-large-width">
<f:selectItems value="#{Bean.Catalogo}" />
<a4j:ajax event="selectitem"
execute="@this"
render="upload,seccionCarga"
listener="#{Bean.activarPanelCarga}" />
</rich:select>
<h:panelGrid columns="1">
<h:panelGroup id="seccionCarga">
<rich:panel bodyClass="info" titleStyleClass="rf-p-hdr" >
<f:facet name="header">
<h:outputText value="Detalle del archivo Cargado" />
</f:facet>
<h:panelGrid columns="2" columnClasses="columnOnCenter,columnOnCenter">
<h:panelGroup style="text-align:center;display:block;width:550px;height:35px">
<div align="center">
<rich:fileUpload id="upload"
styleClass="top"
.
.
.
The problem is that the FileUploader remains disabled, it is as if the panel had not been updated.
Generally <a4j:ajax event="selectitem"> requests fail, this only in IE 11.0.4 (KB2925418)
Currently there is a filter to ensure compatibility with IE 8.
When the page is loaded in developer tools (F12) the IE8 compatibility option is set correctly.
The configuration of the environment is:
Richfaces 4.0.0.
IE11
JSF2
Eclipse Kepler
Is there any way to correct the problems with these ajax requests?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13601?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13601:
------------------------------------
This is possibly a metamer issue. If I checkout the 4.3.5.20140113-Final metamer tag and run it against the staged RichFaces {{4.3.6.Final}} jars then everything works as expected.
Please confirm this is a metamer issue. In the future we should consider verifying whether reported framework regressions are metamer regressions, as this took a fair amount of time to narrow down.
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
> ---------------------------------------------------------------------------------------------
>
> Key: RF-13601
> URL: https://issues.jboss.org/browse/RF-13601
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.6
> Environment: Firefox 25 & Chrome
> EAP & JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Priority: Critical
> Labels: regression
> Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13601) DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13601?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13601:
-------------------------------
Assignee: Juraj Húska
> DataTable - when has sorting columns - TypeError: RichFaces.ui.DataTable is not a constructor
> ---------------------------------------------------------------------------------------------
>
> Key: RF-13601
> URL: https://issues.jboss.org/browse/RF-13601
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.6
> Environment: Firefox 25 & Chrome
> EAP & JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Priority: Critical
> Labels: regression
> Attachments: brokenDataTableSortingHeaderColumns.png
>
>
> {{DataTable}} with multiple sorting columns does not work properly. After initial render it looks good, but then after refresh it is broken.
> The header facet is visually broken and following JS error is thrown into the console:
> {{TypeError: RichFaces.ui.DataTable is not a constructor}}.
> The rendered code contains following usage of the DataTable constructor:
> {code}
> new RichFaces.ui.DataTable("form:richDataTable",{"ajaxEventOptions":{} } )
> {code}
> It seems that the sorting functionality works even though there is JS error and it is visually broken. However, the functional tests failed so I need to investigate more.
> It worked in {{4.3.5.Final}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13595) rich:validator doesn't work when loaded via ajax (re-render)
by Michael B (JIRA)
[ https://issues.jboss.org/browse/RF-13595?page=com.atlassian.jira.plugin.s... ]
Michael B commented on RF-13595:
--------------------------------
Thanks for verifying the problem, - glad to hear that the test project was useful!
And to answer your question: yes, that's exactly what I meant by replacing the inputText with the calendar component. I've also tried with some (of the many) other events which the calendar component provides, but with no success so far.
Also I would imagine, that the same problem could also occur when using other input components with the validator (like rich:select etc.), but I haven't confirmed that by changing the test case so far.
So basically having a workaround for the calendar component would by nice on the short run, but the general problem would still remain.
BTW: the instanceof-check in the validation-method (Line 25) of your adapted test class should probably also be changed to a Date, otherwise the check would never work - even if the validation method would actually be invoked at some point... - but never mind that detail.
> rich:validator doesn't work when loaded via ajax (re-render)
> ------------------------------------------------------------
>
> Key: RF-13595
> URL: https://issues.jboss.org/browse/RF-13595
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.5
> Environment: RF 4.3.5
> Mojarra 2.1.27
> Java 7 Update 51 x64
> Tomcat 7.0.52
> Firefox 28.0 + Firebug
> Reporter: Michael B
> Assignee: Matej Novotny
> Attachments: validationTest.zip
>
>
> When loading input components with a rich:validator via ajax (re-render), client side validation bridge breaks due to a missing JS function av_xxxxxxxxx.
> As already described in further detail in a comment to this JIRA here:
> https://issues.jboss.org/browse/RF-12031
> I've created a very basic example project to reproduce the problem for a single input field which becomes visible (re-rendered) when you click on an a4j:commandButton.
> Please note that this is a minimum example only. The problem is also reproducable for other input components besides h:inputText - like for example rich:calendar.
> The workaround described in the referenced JIRA creates other problems in client JS when combined with other components like rich:focus and is also not applicable for other input components besides h:inputText.
> We think the problem is located in the way JS functions are optimized for being re-used as well as in the way they are (not) being added on the client side when a component becomes visible on ajax response re-rendering.
> Please use attached eclipse project to easily reproduce the problem => open Firefox => Firebug console to see the error about the missing JS function av_xxxxxxx ...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months