Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 916313

Summary: one-off patch for RF-11382 : Datatable and ExtendedDatatable evaluate value attribute even if rendered=false
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: ivassile
Component: RichFacesAssignee: Pavol Pitonak <ppitonak>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Pitonak <ppitonak>
Severity: high Docs Contact:
Priority: high    
Version: 2.1.0CC: kpiwko, maschmid, mnovotny, myarboro
Target Milestone: ---   
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-16 12:29:17 UTC Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch
none
patch
none
sha1
none
sources sha1 none

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?