[JBoss JIRA] (RF-13036) Refactor usage of deprecated code
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13036?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13036:
-------------------------------
Fix Version/s: 5-Tracking
(was: 5.0.0.Alpha2)
> Refactor usage of deprecated code
> ---------------------------------
>
> Key: RF-13036
> URL: https://issues.jboss.org/browse/RF-13036
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.0.Alpha1
> Reporter: Pavol Pitonak
> Priority: Minor
> Fix For: 5-Tracking
>
>
> RichFaces 5 code base uses deprecated code a lot:
> # [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/java/org/richfaces/javascript/JavaScriptServiceImpl.java:[41,45] [deprecation] ValueBinding in javax.faces.el has been deprecated
> # [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[383,40] [deprecation] createMethodBinding(String,Class<?>[]) in Application has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[293,23] [deprecation] createComponent(ValueBinding,FacesContext,String) in Application has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[214,16] [deprecation] setVariableResolver(VariableResolver) in Application has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[202,43] [deprecation] getVariableResolver() in Application has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[190,16] [deprecation] setPropertyResolver(PropertyResolver) in Application has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/main/resource-optimizer/org/richfaces/resource/optimizer/faces/ApplicationImpl.java:[178,43] [deprecation] getPropertyResolver() in Application has been deprecated
> # [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[67,38] [deprecation] FastBufferInputStream(FastBufferOutputStream) in FastBufferInputStream has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[144,33] [deprecation] FastBufferReader(FastBufferWriter) in FastBufferReader has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[221,38] [deprecation] FastBufferInputStream(FastBufferOutputStream) in FastBufferInputStream has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/io/io/Test.java:[299,33] [deprecation] FastBufferReader(FastBufferWriter) in FastBufferReader has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/LengthValidatorTest.java:[83,45] [deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/LengthValidatorTest.java:[84,90] [deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/ui/ajax/AbstractQueueComponentTest.java:[121,8] [deprecation] assertEquals(String,double,double) in Assert has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/ui/ajax/AbstractQueueComponentTest.java:[122,8] [deprecation] assertEquals(String,double,double) in Assert has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[77,34] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[78,34] [deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[83,39] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[84,39] [deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[89,36] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[90,36] [deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[98,35] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[103,39] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[108,43] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[116,51] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[121,55] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[126,59] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[134,51] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[139,55] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[144,56] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[149,59] [deprecation] isMatchesEntityTag(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[162,51] [deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[167,49] [deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/resource/AbstractCacheableResourceTest.java:[172,51] [deprecation] isMatchesLastModified(FacesContext) in AbstractCacheableResource has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[81,93] [deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[82,93] [deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[83,92] [deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[84,81] [deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
> [WARNING] /mnt/hudson_workspace/workspace/richfaces-5.0/richfaces/framework/src/test/java/org/richfaces/javascript/client/validator/DoubleRangeValidatorTest.java:[86,53] [deprecation] IGNORE_MESSAGE in ValidatorTestBase has been deprecated
> # [WARNING] org.richfaces.resource.plugin.ProcessMojo#compress:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
> [WARNING] org.richfaces.resource.plugin.ProcessMojo#encoding:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
> [WARNING] org.richfaces.resource.plugin.ProcessMojo#pack:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
> [WARNING] org.richfaces.resource.plugin.ProcessMojo#project:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
> [WARNING] org.richfaces.resource.plugin.ProcessMojo#resourcesOutputDir:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
> [WARNING] org.richfaces.resource.plugin.ProcessMojo#skins:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
> [WARNING] org.richfaces.resource.plugin.ProcessMojo#staticResourceMappingFile:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
> [WARNING] org.richfaces.resource.plugin.ProcessMojo#staticResourcePrefix:
> [WARNING] The syntax
> [WARNING] @parameter expression="$\{property\}"
> [WARNING] is deprecated, please use
> [WARNING] @parameter property="property"
> [WARNING] instead.
--
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, 9 months
[JBoss JIRA] (RF-13018) a4j:commandButton wrong actions performed
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13018?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13018:
-------------------------------
Fix Version/s: 5.0.0.Alpha3
(was: 5.0.0.Alpha2)
> 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: Brian Leathem
> Fix For: 5.0.0.Alpha3
>
> Attachments: RF-13018.zip
>
>
> 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 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, 9 months
[JBoss JIRA] (RF-13018) a4j:commandButton wrong actions performed
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13018?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13018:
-------------------------------
Original Estimate: 2 hours
Remaining Estimate: 2 hours
> 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: Brian Leathem
> Fix For: 5.0.0.Alpha3
>
> 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 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, 9 months