[JBoss JIRA] (RF-13248) Switch RichFaces smoke tests to run on WildFly 8 by default
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13248?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-13248.
-----------------------------
Resolution: Done
> Switch RichFaces smoke tests to run on WildFly 8 by default
> -----------------------------------------------------------
>
> Key: RF-13248
> URL: https://issues.jboss.org/browse/RF-13248
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Labels: jsf22
> Fix For: 5.0.0.Alpha3
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> With start of WildFly Beta/CR release chain, we can switch our tests consume it, it means:
> * tweaking TravisCI configuration
> Note that tests have problem to pass on WildFly Beta1:
> {code}
> Tests run: 34, Failures: 1, Errors: 16, Skipped: 1
> {code}
> so we need to analyze a cause of the failure first.
--
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
12 years, 3 months
[JBoss JIRA] (RF-13476) r:ajax does not rerender subcomponents in an outputPanel
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13476?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13476:
-------------------------------
Fix Version/s: 5.0.0.Alpha4
> r:ajax does not rerender subcomponents in an outputPanel
> --------------------------------------------------------
>
> Key: RF-13476
> URL: https://issues.jboss.org/browse/RF-13476
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component, regression
> Affects Versions: 5.0.0.Alpha2
> Environment: Win7,JDK6, JBoss EAP 5.1
> Reporter: Mike K
> Labels: ajax, richfaces
> Fix For: 5.0.0.Alpha4
>
> Attachments: test.xhtml, test.xhtml, TestBean.java
>
>
> Since richfaces5.0.0 alpha2 the r:ajax components does not rerender subcomponents in an outputPanel. It did work in alpha1!
> Now I get the following error in my logs:
> {quote}
> 10:17:33,645 SEVERE [meta] /pages/test.xhtml @14,49 render="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior
> {quote}
> => when changed to f:ajax example is working!
> See Example for details.
> Log output is:
> {code}
> debug[13:39:13.541]: New request added to queue. Queue requestGroupingId changed to form:selector
> debug[13:39:13.543]: Queue will wait 0ms before submit
> debug[13:39:13.543]: richfaces.queue: will submit request NOW
> info [13:39:13.553]: Received 'begin' event from <select id=form:selector ...>
> info [13:39:13.615]: Received 'beforedomupdate' event from <select id=form:selector ...>
> debug[13:39:13.616]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update></changes></partial-response>
> info [13:39:13.618]: Listing content of response changes element:
> Element update for id=javax.faces.ViewState
> <update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update>
> debug[13:39:13.620]: richfaces.queue: ajax submit successfull
> debug[13:39:13.621]: richfaces.queue: Nothing to submit
> info [13:39:13.622]: Received 'success' event from <select id=form:selector ...>
> info [13:39:13.623]: Received 'complete' event from <select id=form:selector ...>
> {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
12 years, 3 months
[JBoss JIRA] (RF-13476) r:ajax does not rerender subcomponents in an outputPanel
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13476?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13476:
-------------------------------
Description:
Since richfaces5.0.0 alpha2 the r:ajax components does not rerender subcomponents in an outputPanel. It did work in alpha1!
Now I get the following error in my logs:
{quote}
10:17:33,645 SEVERE [meta] /pages/test.xhtml @14,49 render="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior
{quote}
=> when changed to f:ajax example is working!
See Example for details.
Log output is:
{code}
debug[13:39:13.541]: New request added to queue. Queue requestGroupingId changed to form:selector
debug[13:39:13.543]: Queue will wait 0ms before submit
debug[13:39:13.543]: richfaces.queue: will submit request NOW
info [13:39:13.553]: Received 'begin' event from <select id=form:selector ...>
info [13:39:13.615]: Received 'beforedomupdate' event from <select id=form:selector ...>
debug[13:39:13.616]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update></changes></partial-response>
info [13:39:13.618]: Listing content of response changes element:
Element update for id=javax.faces.ViewState
<update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update>
debug[13:39:13.620]: richfaces.queue: ajax submit successfull
debug[13:39:13.621]: richfaces.queue: Nothing to submit
info [13:39:13.622]: Received 'success' event from <select id=form:selector ...>
info [13:39:13.623]: Received 'complete' event from <select id=form:selector ...>
{code}
was:
Since richfaces5.0.0 alpha2 the r:ajax components does not rerender subcomponents in an outputPanel. It did work in alpha1!
Now I get the following error in my logs:
10:17:33,645 SEVERE [meta] /pages/test.xhtml @14,49 render="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior
=> when changed to f:ajax example is working!
See Example for details.
Log output is:
debug[13:39:13.541]: New request added to queue. Queue requestGroupingId changed to form:selector
debug[13:39:13.543]: Queue will wait 0ms before submit
debug[13:39:13.543]: richfaces.queue: will submit request NOW
info [13:39:13.553]: Received 'begin' event from <select id=form:selector ...>
info [13:39:13.615]: Received 'beforedomupdate' event from <select id=form:selector ...>
debug[13:39:13.616]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update></changes></partial-response>
info [13:39:13.618]: Listing content of response changes element:
Element update for id=javax.faces.ViewState
<update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update>
debug[13:39:13.620]: richfaces.queue: ajax submit successfull
debug[13:39:13.621]: richfaces.queue: Nothing to submit
info [13:39:13.622]: Received 'success' event from <select id=form:selector ...>
info [13:39:13.623]: Received 'complete' event from <select id=form:selector ...>
> r:ajax does not rerender subcomponents in an outputPanel
> --------------------------------------------------------
>
> Key: RF-13476
> URL: https://issues.jboss.org/browse/RF-13476
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component, regression
> Affects Versions: 5.0.0.Alpha2
> Environment: Win7,JDK6, JBoss EAP 5.1
> Reporter: Mike K
> Labels: ajax, richfaces
> Attachments: test.xhtml, test.xhtml, TestBean.java
>
>
> Since richfaces5.0.0 alpha2 the r:ajax components does not rerender subcomponents in an outputPanel. It did work in alpha1!
> Now I get the following error in my logs:
> {quote}
> 10:17:33,645 SEVERE [meta] /pages/test.xhtml @14,49 render="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior
> {quote}
> => when changed to f:ajax example is working!
> See Example for details.
> Log output is:
> {code}
> debug[13:39:13.541]: New request added to queue. Queue requestGroupingId changed to form:selector
> debug[13:39:13.543]: Queue will wait 0ms before submit
> debug[13:39:13.543]: richfaces.queue: will submit request NOW
> info [13:39:13.553]: Received 'begin' event from <select id=form:selector ...>
> info [13:39:13.615]: Received 'beforedomupdate' event from <select id=form:selector ...>
> debug[13:39:13.616]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update></changes></partial-response>
> info [13:39:13.618]: Listing content of response changes element:
> Element update for id=javax.faces.ViewState
> <update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update>
> debug[13:39:13.620]: richfaces.queue: ajax submit successfull
> debug[13:39:13.621]: richfaces.queue: Nothing to submit
> info [13:39:13.622]: Received 'success' event from <select id=form:selector ...>
> info [13:39:13.623]: Received 'complete' event from <select id=form:selector ...>
> {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
12 years, 3 months
[JBoss JIRA] (RF-13476) r:ajax does not rerender subcomponents in an outputPanel
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13476?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13476:
-------------------------------
Summary: r:ajax does not rerender subcomponents in an outputPanel (was: r:ajax not rerendering - render="..." Unhandled by MetaTagHandler for type org.richfarender="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior)
> r:ajax does not rerender subcomponents in an outputPanel
> --------------------------------------------------------
>
> Key: RF-13476
> URL: https://issues.jboss.org/browse/RF-13476
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component, regression
> Affects Versions: 5.0.0.Alpha2
> Environment: Win7,JDK6, JBoss EAP 5.1
> Reporter: Mike K
> Labels: ajax, richfaces
> Attachments: test.xhtml, test.xhtml, TestBean.java
>
>
> Since richfaces5.0.0 alpha2 the r:ajax components does not rerender subcomponents in an outputPanel. It did work in alpha1!
> Now I get the following error in my logs:
> 10:17:33,645 SEVERE [meta] /pages/test.xhtml @14,49 render="outputPanel" Unhandled by MetaTagHandler for type org.richfaces.ui.ajax.ajax.AjaxBehavior
> => when changed to f:ajax example is working!
> See Example for details.
> Log output is:
> debug[13:39:13.541]: New request added to queue. Queue requestGroupingId changed to form:selector
> debug[13:39:13.543]: Queue will wait 0ms before submit
> debug[13:39:13.543]: richfaces.queue: will submit request NOW
> info [13:39:13.553]: Received 'begin' event from <select id=form:selector ...>
> info [13:39:13.615]: Received 'beforedomupdate' event from <select id=form:selector ...>
> debug[13:39:13.616]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update></changes></partial-response>
> info [13:39:13.618]: Listing content of response changes element:
> Element update for id=javax.faces.ViewState
> <update id="javax.faces.ViewState"><![CDATA[-3951616523774896107:7005939840808606034]]></update>
> debug[13:39:13.620]: richfaces.queue: ajax submit successfull
> debug[13:39:13.621]: richfaces.queue: Nothing to submit
> info [13:39:13.622]: Received 'success' event from <select id=form:selector ...>
> info [13:39:13.623]: Received 'complete' event from <select id=form:selector ...>
--
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
12 years, 3 months
[JBoss JIRA] (RF-13477) Framework tests - welcomeFile does not work correctly on WildFly
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13477?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13477:
------------------------------------
For AS 7 / jbossweb see:
* AS7-5554: Welcome-file ignores servlet mapping
The workaround in AS 7 is to create an empty index.jsf file to trick the servlet container into believing the welcome file exists. The proper JSF page is ultimately served.
For Undertow see
* UNDERTOW-4: Welcome-file should rerfer to servlet mapping
A new UNDERTOW issue should be filed if this issue is persisting.
> Framework tests - welcomeFile does not work correctly on WildFly
> ----------------------------------------------------------------
>
> Key: RF-13477
> URL: https://issues.jboss.org/browse/RF-13477
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: tests - functional
> Affects Versions: 5.0.0.Alpha3
> Reporter: Lukáš Fryč
>
> tests were configured to use following welcome file configuration:
> {code}
> .welcomeFile("faces/index.xhtml")
> .welcomeFile("index.jsf")
> {code}
> but wildfly didn't accept anything else than
> {code}
> index.jsf
> {code}
> and JBoss AS didn't work on anythung else than
> {code}
> faces/index.xhtml
> {code}
> https://github.com/richfaces/richfaces/blob/master/build/build-resources/...
> ----
> as a workaround, I have made the usage of welcomefile conditional.
--
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
12 years, 3 months
[JBoss JIRA] (RF-13358) rich:panelMenuGroup allowing actions executions even if originally disabled
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13358?page=com.atlassian.jira.plugin.s... ]
Juraj Húska commented on RF-13358:
----------------------------------
The problem is that test verifying this issue is false positive.
Explanation:
For example test {{test_disabled_menu_group}}, [here|https://github.com/richfaces/richfaces/blob/master/framework/src/tes...], is trying to:
* click on the group to collapse it
* verifying whether an ajax request changed the state of the bean bound to the group {{action}} param.
However, there is no Ajax request made, and at the same time the group is collapsed even when it is disabled (tampered with the script executed after the page load). Therefore, test wrongly expect that the group is still disabled.
It is weird, because in one hand the group is not making Ajax request when clicked (I guess because of some client check), and on the other hand it is expanded/collapsed.
I tried to make the test to be more deterministic with use of Page Fragments, but their implementation does not count with such bug. I will try further if you agree.
Can I do something more ?
> rich:panelMenuGroup allowing actions executions even if originally disabled
> ---------------------------------------------------------------------------
>
> Key: RF-13358
> URL: https://issues.jboss.org/browse/RF-13358
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-menu
> Affects Versions: 4.3.4
> Environment: Linux, AS 7.1.1 Brontes, FF 25 with FireBug addOn
> Reporter: Pavel Slegr
> Assignee: Brian Leathem
> Priority: Critical
> Labels: needs-qe
> Fix For: 4.3.5, 4.5.0.Alpha2, 5.0.0.Alpha3
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> related to https://issues.jboss.org/browse/RF-12813
> This can be possibly a security hole, as the second component piece is discovered to allow tampering actions through JS.
> I suggest to try out on other components as well !!!
> with following example
> {code}
> {
> <rich:panelMenuGroup id="group4" label="Group 4" expanded="false">
> <rich:panelMenuItem id="item41" label="Item 4.1" />
> <rich:panelMenuItem id="item42" label="Item 4.2" disabled="true" />
> <rich:panelMenuGroup id="group43" label="Group 4.1" disabled="true">
> <rich:panelMenuItem id="item431" label="Item 4.1.1" />
> </rich:panelMenuGroup>
> </rich:panelMenuGroup>
> }
> {code}
> the group43 element is intended to be disabled and thus not allowing any actions execution on it
> Once tampered with
> {code}
> {
> new RichFaces.ui.PanelMenuGroup("f:group43",{"collapseEvent":"click","unselectable":false,"selectable":false,"name":"group43","ajax":{"incId":"1"} ,"stylePrefix":"rf\u002Dpm\u002Dgr","expanded":false,"expandEvent":"click","disabled":false,"mode":"client"} )
> }
> {code}
> It is possible to expand the group and execute further actions on its children elements
> NOTE: to verify this in RF 4.5 the JS function is: _new RichFaces.rf4.ui....._
--
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
12 years, 3 months