Bug 952235 - a4j:push component RichFaces backward compatibility problem
Summary: a4j:push component RichFaces backward compatibility problem
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: RichFaces
Version: 2.1.0,2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Brian Leathem
QA Contact: Pavol Pitonak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-15 12:34 UTC by Ján Jamrich
Modified: 2014-01-27 15:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Applications created with RichFaces 4.2.3.Final, which is the version shipped with JBoss Web Framework Kit 2.1.0, contain a dependency on the 0.8.4 version of the Atmosphere framework, which is not backward compatible with RichFaces 4.3.2.Final shipped with this release. Consequently, the a4j:push component does not provide any push updates when used with RichFaces 4.3.2.Final. To work around the issue, change the Atmosphere depencency to version 1.0.10, or replace the Atmosphere libraries with the respective versions. As a result of the workaround, the a4j:push component provides push updates correctly.
Clone Of:
: 981288 (view as bug list)
Environment:
Last Closed: 2013-08-09 13:47:47 UTC
Type: Bug
Embargoed:
ppenicka: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFK2-47 0 Major Closed Document a4j:push component RichFaces backward compatibility problem 2014-01-27 15:49:20 UTC

Description Ján Jamrich 2013-04-15 12:34:23 UTC
Description of problem:
Backward compatibility problem with RichFaces a4j:push component.
(Backward compatibility verified by replacing RichFaces implementation binaries in latest released version from WFK 2.2 (2.2.0.CR2) (in this case 4.3.1.Final-redhat-1) in example from WFK 2.1 (2.1.0.Final))


Version-Release number of selected component (if applicable):
RichFaces binaries (richfaces-components-api.jar, richfaces-components-ui.jar, richfaces-core-api.jar and richfaces-core-impl.jar) version 4.2.3.Final from Metamer application obtained from WFK-2.1.0.Final maven repository by version 4.3.1.Final from WFK 2.2.0.CR2

How reproducible:
On following page: http://localhost:8080/metamer/faces/components/a4jPush/simple.xhtml

Steps to Reproduce:
1. build Metamer application from wfk21 branch (version 2.1.0.Final)
2. obtain richfaces-*.jar version 4.3.1.Final (available in WFK 2.2.0.CR1, 2.2.0.CR2 maven repository)
3. unzip metamer-jee6.war, and replace richfaces-*.jar files (version 4.2.3.Final) by version 4.3.1.Final
4. deploy metamer-jee6.war to jboss-eap-6.0
5. open http://localhost:8080/metamer/faces/components/a4jPush/simple.xhtml
6. in push updates area (introduced by "Last message:" label) expected default text "waiting for data from server..." replaced by something like: "Push Bot: Hello, still alive!" followed by timestamp from last push update e.g.: "[Apr 15, 2013 12:30:48 PM]"
7. Message remain "waiting for data from server..." instead of expected bahvior
  
Actual results:
No push updates receiving on a4j:push example page.

Expected results:
Receive/display message using form: "PushBot: still alive!" followed by timestamp from last push update.

Additional info:
No error in log discovered. Seems it just doesn't work with this configuration.
JBoss EAP start with standalone.xml configuration. (Deploy metamer app fails if start JBoss EAP with standalone-full.xml configuration)
Push component in default metamer application (without richfaces implementation binaries replaced) is working correctly.

Comment 1 Pavol Pitonak 2013-04-15 12:56:05 UTC
Jan, if it's an upstream issue, please link JIRA here.

Comment 2 Pete Muir 2013-04-15 14:06:13 UTC
Brian, can you check if this should block the release asap please? Comment back here if you don't see a problem.

Comment 3 Ján Jamrich 2013-04-15 14:39:59 UTC
Update: there were Atmosphere framework upgrade introduced with richfaces 4.3.1.Final release [1], so to get push working it is required to upgrade atmospehere libraries as well. (1.0.10 instead of 0.8.4)

This info should be added into Migration Guide.

[1] http://planet.jboss.org/post/richfaces_4_3_1_final_release_announcement0

Comment 4 Brian Leathem 2013-04-15 16:05:12 UTC
Thanks Jan for the update that it works with the upgraded Atmosphere libraries.

It should be sufficient to include a WFK Release note line telling folks to update the Atmosphere library to version 1.0.10.

Brian

Comment 5 Petr Penicka 2013-04-19 15:58:03 UTC
Doc text edited and inserted into the 2.2.0 release notes book. 

Docs stage URL: https://documentation-devel.engineering.redhat.com/docs/en-US/JBoss_Web_Framework_Kit/2.2/html-single/2.2.0_Release_Notes/index.html

Build: JBoss_Web_Framework_Kit-2.2.0_Release_Notes-2.2-en-US-0-27

Comment 9 Petr Penicka 2013-07-04 11:46:45 UTC
Edited doc text for wfk 2.3 release notes.

Comment 10 Petr Penicka 2013-07-04 11:52:24 UTC
Created bug 981288 to include the info in standard RichFaces documentation in WFK 2.4.

Comment 13 JBoss JIRA Server 2013-09-26 15:20:38 UTC
Petr Penicka <ppenicka> updated the status of jira WFK2-47 to Resolved

Comment 16 JBoss JIRA Server 2014-01-27 15:49:23 UTC
Marek Schmidt <maschmid> updated the status of jira WFK2-47 to Closed


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