[JBoss JIRA] (RF-13647) File Download throws exception when used with a commandButton of type="button"
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13647:
-------------------------------
Summary: File Download throws exception when used with a commandButton of type="button" (was: File Download throws exception)
> File Download throws exception when used with a commandButton of type="button"
> ------------------------------------------------------------------------------
>
> Key: RF-13647
> URL: https://issues.jboss.org/browse/RF-13647
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6
> Environment: Richfaces 4.3.6 Final.
> Mojarra - 2.1.28
> Weblogic 12.1.2
> Windows 7
> Reporter: santhosh siravuri
> Assignee: Michal Petrov
> Priority: Critical
> Labels: regression
> Fix For: 4.3.8
>
> Attachments: RF-13647.zip
>
>
> File download action throws below exception.
> {code}
> ]] Root cause of ServletException.
> java.lang.NullPointerException
> at org.richfaces.renderkit.AjaxCommandRendererBase.isSubmitted(AjaxCommandRendererBase.java:83)
> at org.richfaces.renderkit.AjaxCommandRendererBase.doDecode(AjaxCommandRendererBase.java:59)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1183)
> Truncated. see log file for complete stacktrace
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13647) File Download throws exception
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13647:
-------------------------------
Labels: regression (was: )
> File Download throws exception
> ------------------------------
>
> Key: RF-13647
> URL: https://issues.jboss.org/browse/RF-13647
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6
> Environment: Richfaces 4.3.6 Final.
> Mojarra - 2.1.28
> Weblogic 12.1.2
> Windows 7
> Reporter: santhosh siravuri
> Assignee: Michal Petrov
> Priority: Critical
> Labels: regression
> Fix For: 4.3.8
>
> Attachments: RF-13647.zip
>
>
> File download action throws below exception.
> {code}
> ]] Root cause of ServletException.
> java.lang.NullPointerException
> at org.richfaces.renderkit.AjaxCommandRendererBase.isSubmitted(AjaxCommandRendererBase.java:83)
> at org.richfaces.renderkit.AjaxCommandRendererBase.doDecode(AjaxCommandRendererBase.java:59)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1183)
> Truncated. see log file for complete stacktrace
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13647) File Download throws exception
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.s... ]
Michal Petrov edited comment on RF-13647 at 5/30/14 9:47 AM:
-------------------------------------------------------------
Switched the comparables, clientId should not cause NPE.
Edit: Note that the example will still throw an exception, but that's happening in the bean.
was (Author: michpetrov):
Switched the comparables, clientId should not cause NPE.
> File Download throws exception
> ------------------------------
>
> Key: RF-13647
> URL: https://issues.jboss.org/browse/RF-13647
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6
> Environment: Richfaces 4.3.6 Final.
> Mojarra - 2.1.28
> Weblogic 12.1.2
> Windows 7
> Reporter: santhosh siravuri
> Assignee: Michal Petrov
> Priority: Critical
> Fix For: 4.3.8
>
> Attachments: RF-13647.zip
>
>
> File download action throws below exception.
> {code}
> ]] Root cause of ServletException.
> java.lang.NullPointerException
> at org.richfaces.renderkit.AjaxCommandRendererBase.isSubmitted(AjaxCommandRendererBase.java:83)
> at org.richfaces.renderkit.AjaxCommandRendererBase.doDecode(AjaxCommandRendererBase.java:59)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1183)
> Truncated. see log file for complete stacktrace
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13647) File Download throws exception
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.s... ]
Michal Petrov reassigned RF-13647:
----------------------------------
Assignee: Michal Petrov (was: Jiří Štefek)
> File Download throws exception
> ------------------------------
>
> Key: RF-13647
> URL: https://issues.jboss.org/browse/RF-13647
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6
> Environment: Richfaces 4.3.6 Final.
> Mojarra - 2.1.28
> Weblogic 12.1.2
> Windows 7
> Reporter: santhosh siravuri
> Assignee: Michal Petrov
> Priority: Critical
> Fix For: 4.3.8
>
> Attachments: RF-13647.zip
>
>
> File download action throws below exception.
> {code}
> ]] Root cause of ServletException.
> java.lang.NullPointerException
> at org.richfaces.renderkit.AjaxCommandRendererBase.isSubmitted(AjaxCommandRendererBase.java:83)
> at org.richfaces.renderkit.AjaxCommandRendererBase.doDecode(AjaxCommandRendererBase.java:59)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1183)
> Truncated. see log file for complete stacktrace
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13647) File Download throws exception
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13647.
--------------------------------
Labels: (was: waiting_on_user)
Resolution: Done
Switched the comparables, clientId should not cause NPE.
> File Download throws exception
> ------------------------------
>
> Key: RF-13647
> URL: https://issues.jboss.org/browse/RF-13647
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6
> Environment: Richfaces 4.3.6 Final.
> Mojarra - 2.1.28
> Weblogic 12.1.2
> Windows 7
> Reporter: santhosh siravuri
> Assignee: Michal Petrov
> Priority: Critical
> Fix For: 4.3.8
>
> Attachments: RF-13647.zip
>
>
> File download action throws below exception.
> {code}
> ]] Root cause of ServletException.
> java.lang.NullPointerException
> at org.richfaces.renderkit.AjaxCommandRendererBase.isSubmitted(AjaxCommandRendererBase.java:83)
> at org.richfaces.renderkit.AjaxCommandRendererBase.doDecode(AjaxCommandRendererBase.java:59)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1183)
> Truncated. see log file for complete stacktrace
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13018) a4j:commandButton wrong actions performed
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13018?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13018.
--------------------------------
Resolution: Done
> a4j:commandButton wrong actions performed
> -----------------------------------------
>
> Key: RF-13018
> URL: https://issues.jboss.org/browse/RF-13018
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.2.3.Final, 4.3.2
> Environment: Server: Fedora 17, Jboss AS 7.1.1.Final, Jboss EAP 6.1.0.Beta, Java 1.7.0_15
> Browsers: Chrome 26 and Chrome 27 on (Linux & Windows 7), Firefox 20.0 (Linux & Windows 7), IE 9
> Reporter: Rob Hare
> Assignee: Michal Petrov
> Labels: 45x
> Fix For: 4.3.8, 4.5.0.Alpha3, 5.0.0.Alpha4
>
> Attachments: RF-13018.zip
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> When an a4j commponent (a4j:commandButton, a4j:jsFunction) is activated, actions of other a4j:commandButtons on the page with type=button will be fired.
> For example, pressing either button in the following code will cause both richBean.function1() and richBean.function2() actions.
> {noformat}
> <h:form id="testForm">
> <a4j:commandButton id="button1" type="button" value="Button 1"
> action="#{richBean.function1}" />
> <a4j:commandButton id="button2" type="button" value="Button 2"
> action="#{richBean.function2}" />
> </h:form>
> {noformat}
> Note, if one of the a4j:commandButton is marked immediate, then only one action (possibly the wrong action) will be performed and block others. For instance if an a4j:jsFunction action was being triggered, the a4j:commandButton action may occur making appear that the a4j:jsFunction failed.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13018) a4j:commandButton wrong actions performed
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13018?page=com.atlassian.jira.plugin.s... ]
Michal Petrov updated RF-13018:
-------------------------------
Fix Version/s: 4.3.8
> a4j:commandButton wrong actions performed
> -----------------------------------------
>
> Key: RF-13018
> URL: https://issues.jboss.org/browse/RF-13018
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.2.3.Final, 4.3.2
> Environment: Server: Fedora 17, Jboss AS 7.1.1.Final, Jboss EAP 6.1.0.Beta, Java 1.7.0_15
> Browsers: Chrome 26 and Chrome 27 on (Linux & Windows 7), Firefox 20.0 (Linux & Windows 7), IE 9
> Reporter: Rob Hare
> Assignee: Michal Petrov
> Labels: 45x
> Fix For: 4.3.8, 4.5.0.Alpha3, 5.0.0.Alpha4
>
> Attachments: RF-13018.zip
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> When an a4j commponent (a4j:commandButton, a4j:jsFunction) is activated, actions of other a4j:commandButtons on the page with type=button will be fired.
> For example, pressing either button in the following code will cause both richBean.function1() and richBean.function2() actions.
> {noformat}
> <h:form id="testForm">
> <a4j:commandButton id="button1" type="button" value="Button 1"
> action="#{richBean.function1}" />
> <a4j:commandButton id="button2" type="button" value="Button 2"
> action="#{richBean.function2}" />
> </h:form>
> {noformat}
> Note, if one of the a4j:commandButton is marked immediate, then only one action (possibly the wrong action) will be performed and block others. For instance if an a4j:jsFunction action was being triggered, the a4j:commandButton action may occur making appear that the a4j:jsFunction failed.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13018) a4j:commandButton wrong actions performed
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13018?page=com.atlassian.jira.plugin.s... ]
Michal Petrov reopened RF-13018:
--------------------------------
The fix causes NPE when {{h}} and {{a4j}} command components are used together.
> a4j:commandButton wrong actions performed
> -----------------------------------------
>
> Key: RF-13018
> URL: https://issues.jboss.org/browse/RF-13018
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.2.3.Final, 4.3.2
> Environment: Server: Fedora 17, Jboss AS 7.1.1.Final, Jboss EAP 6.1.0.Beta, Java 1.7.0_15
> Browsers: Chrome 26 and Chrome 27 on (Linux & Windows 7), Firefox 20.0 (Linux & Windows 7), IE 9
> Reporter: Rob Hare
> Assignee: Michal Petrov
> Labels: 45x
> Fix For: 4.5.0.Alpha3, 5.0.0.Alpha4
>
> Attachments: RF-13018.zip
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> When an a4j commponent (a4j:commandButton, a4j:jsFunction) is activated, actions of other a4j:commandButtons on the page with type=button will be fired.
> For example, pressing either button in the following code will cause both richBean.function1() and richBean.function2() actions.
> {noformat}
> <h:form id="testForm">
> <a4j:commandButton id="button1" type="button" value="Button 1"
> action="#{richBean.function1}" />
> <a4j:commandButton id="button2" type="button" value="Button 2"
> action="#{richBean.function2}" />
> </h:form>
> {noformat}
> Note, if one of the a4j:commandButton is marked immediate, then only one action (possibly the wrong action) will be performed and block others. For instance if an a4j:jsFunction action was being triggered, the a4j:commandButton action may occur making appear that the a4j:jsFunction failed.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13647) File Download throws exception
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.s... ]
Michal Petrov commented on RF-13647:
------------------------------------
Turns out Mojarra doesn't use jsf.ajax.request for commandButton/Link submission (it simply submits the whole form) and thus it doesn't include "javax.faces.source" as a request parameter, causing the NPE.
> File Download throws exception
> ------------------------------
>
> Key: RF-13647
> URL: https://issues.jboss.org/browse/RF-13647
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6
> Environment: Richfaces 4.3.6 Final.
> Mojarra - 2.1.28
> Weblogic 12.1.2
> Windows 7
> Reporter: santhosh siravuri
> Assignee: Jiří Štefek
> Priority: Critical
> Labels: waiting_on_user
> Fix For: 4.3.8
>
> Attachments: RF-13647.zip
>
>
> File download action throws below exception.
> {code}
> ]] Root cause of ServletException.
> java.lang.NullPointerException
> at org.richfaces.renderkit.AjaxCommandRendererBase.isSubmitted(AjaxCommandRendererBase.java:83)
> at org.richfaces.renderkit.AjaxCommandRendererBase.doDecode(AjaxCommandRendererBase.java:59)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1183)
> Truncated. see log file for complete stacktrace
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (RF-13646) Fix resource optimization
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13646?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13646.
--------------------------------
Resolution: Done
All should be good now (there was an old mapping file in core), but we're affected by RF-13635.
> Fix resource optimization
> -------------------------
>
> Key: RF-13646
> URL: https://issues.jboss.org/browse/RF-13646
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha3
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> # There are some resource files that are not being generated (e.g. gradientA.png). It's either a generation or optimization issue.
> # -The optimization settings need to be updated, core files are currently not being packed (legacy of RF 4.5/RF 5 source collision avoidance)-
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months