[JBoss JIRA] (RF-13520) mediaOutput: NPE is thrown when used with CDI beans and JSF 2.2
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13520?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13520:
-----------------------------
Steps to Reproduce:
# build and deploy Metamer, load http://localhost:8080/metamer/faces/components/a4jMediaOutput/rf-13098.xhtml
# see that no picture is rendered and that NPE is thrown to the WildFly console
was:
# build and deploy Metamer, load http://localhost:8080/metamer/faces/components/a4jMediaOutput/rf13098.xhtml
# see that no picture is rendered and that NPE is thrown to the WildFly console
> mediaOutput: NPE is thrown when used with CDI beans and JSF 2.2
> ---------------------------------------------------------------
>
> Key: RF-13520
> URL: https://issues.jboss.org/browse/RF-13520
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 5.0.0.Alpha3
> Environment: WildFly 8.0.0.Final-SNAPSHOT
> WildFly 8.0.0.CR1
> Reporter: Juraj Húska
> Assignee: Brian Leathem
> Priority: Critical
> Labels: 45x, jsf22
> Fix For: 4.5.0.Alpha3, 5.0.0.Alpha3
>
>
> When {{mediaOutput}} is bound via {{value}} attribute to a *CDI* bean, following NPE is thrown:
> {code}
> 15:32:20,443 ERROR [io.undertow.request] (default task-16) UT005023: Exception handling request to /metamer/faces/rfRes/org.richfaces.ui.output.mediaOutput.MediaOutputResource: java.lang.NullPointerException
> at org.richfaces.ui.output.mediaOutput.MediaOutputResource.encode(MediaOutputResource.java:66) [richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
> at org.richfaces.resource.UserResourceWrapperImpl.encode(UserResourceWrapperImpl.java:187) [richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
> at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:229) [richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:643) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93) [classes:]
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:70)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:69) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:69) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:101) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) [undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:685) [undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_05]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_05]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_05]
> {code}
> Note that everything works with JSF 2.1.x (AS 7.1.1.Final) and when Managed Beans are used.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13676) InputNumberSpinner - Validation is not triggered by ajax when nested in iteration components
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13676?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13676:
-----------------------------
Description: If {{InputNumberSpinner}} is nested in e.g. {{collapsiblesubTable}}, then validation (both Cliend Side Validation & JSR303 bean validation) does not work when triggered with a4j:commandButton. (was: If {{InputNumberSpinner}} is nested in e.g. {{collapsiblesubTable}}, then JSR303 bean validation does not work when triggered with a4j:commandButton.)
> InputNumberSpinner - Validation is not triggered by ajax when nested in iteration components
> --------------------------------------------------------------------------------------------
>
> Key: RF-13676
> URL: https://issues.jboss.org/browse/RF-13676
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.5.0.Alpha3
> Reporter: Juraj Húska
> Assignee: Michal Petrov
> Labels: regression
> Fix For: 4.5.0.Alpha3
>
>
> If {{InputNumberSpinner}} is nested in e.g. {{collapsiblesubTable}}, then validation (both Cliend Side Validation & JSR303 bean validation) does not work when triggered with a4j:commandButton.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13676) InputNumberSpinner - Validation is not triggered by ajax when nested in iteration components
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13676?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13676:
-----------------------------
Summary: InputNumberSpinner - Validation is not triggered by ajax when nested in iteration components (was: InputNumberSpinner - JSR validation is not triggered by ajax when nested in iteration components)
> InputNumberSpinner - Validation is not triggered by ajax when nested in iteration components
> --------------------------------------------------------------------------------------------
>
> Key: RF-13676
> URL: https://issues.jboss.org/browse/RF-13676
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.5.0.Alpha3
> Reporter: Juraj Húska
> Assignee: Michal Petrov
> Labels: regression
> Fix For: 4.5.0.Alpha3
>
>
> If {{InputNumberSpinner}} is nested in e.g. {{collapsiblesubTable}}, then JSR303 bean validation does not work when triggered with a4j:commandButton.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13640) Autocomplete with custom layout: cant select item by mouse
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13640?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek commented on RF-13640:
----------------------------------
I've also noticed that the sample in Showcase is using @layout=table, but the issue [RF-12820: AutoComplete Layout Table is broken|https://issues.jboss.org/browse/RF-12820] is still not resolved.
> Autocomplete with custom layout: cant select item by mouse
> ----------------------------------------------------------
>
> Key: RF-13640
> URL: https://issues.jboss.org/browse/RF-13640
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6, 4.5.0.Alpha3
> Environment: Firefox 29.0.1
> Chrome 35.0.1916.114
> Reporter: liumin hu
> Assignee: Brian Leathem
> Labels: needs-backport, needs-qe, regression
> Fix For: 4.3.8, 4.5.0.Alpha3
>
>
> When the autocomplete component is used with a custom layout, n item in the suggestion list can not be selected by mouse, always the first one selected.
> This bug was not observable before 4.3.6.Final.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13640) Autocomplete with custom layout: cant select item by mouse
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13640?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek commented on RF-13640:
----------------------------------
[~jhuska] was able to reproduce it too.
> Autocomplete with custom layout: cant select item by mouse
> ----------------------------------------------------------
>
> Key: RF-13640
> URL: https://issues.jboss.org/browse/RF-13640
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6, 4.5.0.Alpha3
> Environment: Firefox 29.0.1
> Chrome 35.0.1916.114
> Reporter: liumin hu
> Assignee: Brian Leathem
> Labels: needs-backport, needs-qe, regression
> Fix For: 4.3.8, 4.5.0.Alpha3
>
>
> When the autocomplete component is used with a custom layout, n item in the suggestion list can not be selected by mouse, always the first one selected.
> This bug was not observable before 4.3.6.Final.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13640) Autocomplete with custom layout: cant select item by mouse
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13640?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek reopened RF-13640:
------------------------------
Reopening.
Can still be reproduced in showcase.
Tried with Chrome 35, Safari 5.1.7, Firefox 30, IE 11.
On: EAP 6.3
RF version: richfaces-4.5.0-20140618.062938-20.jar
> Autocomplete with custom layout: cant select item by mouse
> ----------------------------------------------------------
>
> Key: RF-13640
> URL: https://issues.jboss.org/browse/RF-13640
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6, 4.5.0.Alpha3
> Environment: Firefox 29.0.1
> Chrome 35.0.1916.114
> Reporter: liumin hu
> Assignee: Brian Leathem
> Labels: needs-backport, needs-qe, regression
> Fix For: 4.3.8, 4.5.0.Alpha3
>
>
> When the autocomplete component is used with a custom layout, n item in the suggestion list can not be selected by mouse, always the first one selected.
> This bug was not observable before 4.3.6.Final.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13676) InputNumberSpinner - JSR validation is not triggered by ajax when nested in iteration components
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13676?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13676:
-----------------------------
Summary: InputNumberSpinner - JSR validation is not triggered by ajax when nested in iteration components (was: InputNumberSpinner - JSR validation is not triggered by ajax when nested in e.g. collapsibleSubTable)
> InputNumberSpinner - JSR validation is not triggered by ajax when nested in iteration components
> ------------------------------------------------------------------------------------------------
>
> Key: RF-13676
> URL: https://issues.jboss.org/browse/RF-13676
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.5.0.Alpha3
> Reporter: Juraj Húska
> Assignee: Michal Petrov
> Labels: regression
> Fix For: 4.5.0.Alpha3
>
>
> If {{InputNumberSpinner}} is nested in e.g. {{collapsiblesubTable}}, then JSR303 bean validation does not work when triggered with a4j:commandButton.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13678) Render @all does not work for nested a4j:region in collapsibleSubTable
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13678?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13678:
-----------------------------
Labels: regression (was: )
> Render @all does not work for nested a4j:region in collapsibleSubTable
> ----------------------------------------------------------------------
>
> Key: RF-13678
> URL: https://issues.jboss.org/browse/RF-13678
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.5.0.Alpha3
> Reporter: Juraj Húska
> Labels: regression
>
> Suppose nested {{regions}} in a {{collapsibleSubTable}}.
> Those regions are not updated when a {{commandButton}} with {{render}} attribute set to {{@all}} is submitted.
> IMHO it is somehow connected with RF-13677, however, this issue occurs only with combination of {{regions}} and {{collapsibleSubTable}}, other iteration components works in this matter.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13678) Render @all does not work for nested a4j:region in collapsibleSubTable
by Juraj Húska (JIRA)
Juraj Húska created RF-13678:
--------------------------------
Summary: Render @all does not work for nested a4j:region in collapsibleSubTable
Key: RF-13678
URL: https://issues.jboss.org/browse/RF-13678
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.5.0.Alpha3
Reporter: Juraj Húska
Suppose nested {{regions}} in a {{collapsibleSubTable}}.
Those regions are not updated when a {{commandButton}} with {{render}} attribute set to {{@all}} is submitted.
IMHO it is somehow connected with RF-13677, however, this issue occurs only with combination of {{regions}} and {{collapsibleSubTable}}, other iteration components works in this matter.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13677) InputNumberSlider & Spinner render does not work when nested iteration components
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13677?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13677:
-----------------------------
Summary: InputNumberSlider & Spinner render does not work when nested iteration components (was: InputNumberSlider & Spinner does not update value in bean when nested iteration components)
> InputNumberSlider & Spinner render does not work when nested iteration components
> ---------------------------------------------------------------------------------
>
> Key: RF-13677
> URL: https://issues.jboss.org/browse/RF-13677
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.5.0.Alpha3
> Reporter: Juraj Húska
> Assignee: Michal Petrov
> Labels: regression
> Fix For: 4.5.0.Alpha3
>
>
> When {{inputNumberSlider}} or {{inputNumberSpinner}} is nested in either of these iteration components:
> * uiRepeat
> * a4jRepeat
> * richExtendedDataTable
> * richCollapsibleSubTable
> * richDataGrid
> * richDataTable
> then the property of the bean bound to its {{value}} attribute is not updated by ajax request.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months