Bug 916313 - one-off patch for RF-11382 : Datatable and ExtendedDatatable evaluate value attribute even if rendered=false
Summary: one-off patch for RF-11382 : Datatable and ExtendedDatatable evaluate value a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: RichFaces
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: One-off release
Assignee: Pavol Pitonak
QA Contact: Pavol Pitonak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-27 19:44 UTC by ivassile
Modified: 2018-11-30 19:26 UTC (History)
4 users (show)

Fixed In Version: one-off
Doc Type: Bug Fix
Doc Text:
PATCH NAME: 916313 PRODUCT NAME: Web Framework Kit VERSION: 2.1 SHORT DESCRIPTION: rich:dataTable and rich:extendedDataTable evaluate value attribute even if rendered=false LONG DESCRIPTION: See RF-11382 (https://issues.jboss.org/browse/RF-11382) for details. MANUAL INSTALL INSTRUCTIONS: Follow the required actions to apply this patch: Replace jar in binary distribution 1 - Locate the "richfaces-components-ui-4.2.3.Final-redhat-1.jar" coming from jboss-wfk-2.1.0-richfaces-bin.zip (./jboss-wfk-2.1.0/richfaces-4.2.3.Final-redhat-1/artifacts/ui/richfaces-components-ui-4.2.3.Final-redhat-1.jar) 2 - Replace the "richfaces-components-ui-4.2.3.Final-redhat-1.jar" with file "richfaces-components-ui-4.2.3.Final-redhat-1-bz-916313.jar" from this patch. Add artifact to WFK Maven repository 1 - install artifact into your local Maven repository using mvn install:install-file -Dfile=./richfaces-components-ui-4.2.3.Final-redhat-1-bz-916313.jar -DpomFile=./richfaces-components-ui-4.2.3.Final-redhat-1-bz-916313.pom Use patched artifact (as dependency) in your Maven builds 1 - overide dependency with following snipet in your application pom.xml <dependencyManagement> <dependencies> <dependency> <groupId>org.richfaces.ui</groupId> <artifactId>richfaces-components-ui</artifactId> <version>4.2.3.Final-redhat-1-bz-916313</version> </dependency> </dependencies> </dependencyManagement> Note, if there is already a <dependencyManagement> section in you pom.xml, you need to place this snippet to appear on the top of the section COMPATIBILITY: None DEPENDENCIES: None SUPERSEDES: None SUPERSEDED BY: None CREATOR: Ilia Vassilev DATE: 02/27/2013
Clone Of:
Environment:
Last Closed: 2013-07-16 12:29:17 UTC
Type: Support Patch
Embargoed:


Attachments (Terms of Use)
patch (5.57 MB, patch)
2013-02-27 21:11 UTC, ivassile
no flags Details | Diff
patch (5.57 MB, patch)
2013-02-27 21:15 UTC, ivassile
no flags Details | Diff
sha1 (101 bytes, application/octet-stream)
2013-02-27 21:16 UTC, ivassile
no flags Details
sources sha1 (109 bytes, application/octet-stream)
2013-02-27 21:16 UTC, ivassile
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 916314 0 unspecified CLOSED Datatable and ExtendedDatatable evaluate value attribute even if rendered=false 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker RF-11382 0 Major Closed Datatable and ExtendedDatatable evaluate value attribute even if rendered=false 2016-03-18 15:12:39 UTC

Description ivassile 2013-02-27 19:44:10 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 ivassile 2013-02-27 21:11:31 UTC
Created attachment 703661 [details]
patch

Comment 2 ivassile 2013-02-27 21:15:29 UTC
Created attachment 703662 [details]
patch

Comment 3 ivassile 2013-02-27 21:16:00 UTC
Created attachment 703663 [details]
sha1

Comment 4 ivassile 2013-02-27 21:16:32 UTC
Created attachment 703664 [details]
sources sha1

Comment 5 ivassile 2013-02-27 21:18:33 UTC
To QA: Please verify the patch.

Comment 6 Pavol Pitonak 2013-02-28 08:46:10 UTC
Jan, verify the patch.

Comment 8 ivassile 2013-02-28 13:40:40 UTC
I already created BZ-916314 to include this fix in WFK 2.2 (https://bugzilla.redhat.com/show_bug.cgi?id=916314)

Comment 9 Ján Jamrich 2013-02-28 15:13:07 UTC
Patch verified by job [1], manually by adding page witch code from related JIRA [2] added by jpapousek.
Steps to apply patch verified too, built metamer.war with patched version of richfaces-component-ui.jar


[1] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/RF-Prod/job/richfaces-wfk-2.1-one-off-patch-916313-metamer-ff/1
[2] https://issues.jboss.org/browse/RF-11382

Comment 11 JBoss JIRA Server 2013-03-14 10:43:19 UTC
Jan Papousek <jpapouse> updated the status of jira RF-11382 to Closed

Comment 13 JBoss JIRA Server 2013-07-23 13:50:29 UTC
Andrey Zhemoytuk <a.zhemoytuk> made a comment on jira RF-11382

Still the issue is reproducible on postback (at least when partial state saving is turned off).

Tried with RichFaces 4.3.3.Final and JSF 2.1.24 the following example:

{code:xml}
  <h:form>
    <rich:dataTable rendered="false" value="#{viewScope.put('invoked', true)}">
    </rich:dataTable>

    <a4j:commandButton value="Postback" execute="@this" render="result"/>
  </h:form>
  
  <h:panelGroup id="result">
    #{invoked}
  </h:panelGroup>
{code}

Comment 14 JBoss JIRA Server 2013-07-29 21:47:33 UTC
Brian Leathem <bleathem> made a comment on jira RF-11382

[~a.zhemoytuk] can you file a new issue for the partial state saving = false use case?


Note You need to log in before you can comment on or make changes to this bug.