Bug 867815 - Seam2.3 Conversation id not restored from page context
Summary: Seam2.3 Conversation id not restored from page context
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Seam
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER2
: 2.2.0
Assignee: Marek Novotny
QA Contact: Marek Schmidt
URL:
Whiteboard: Seam2.3
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 10:57 UTC by Marek Schmidt
Modified: 2013-05-14 14:50 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-14 14:50:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBSEAM-4976 0 None None None Never

Description Marek Schmidt 2012-10-18 10:57:12 UTC
Description of problem:

Page context doesn't work properly with JSF2 partial state-saving. Conversation id is thus not being restored during restore view. Accessing conversation-scoped component during restore view phase breaks long-running conversation state, as new instances are being created instead of restoring the conversation state. 

Possible workarounds are:

1. Disable partial state saving
<context-param>
   <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
   <param-value>false</param-value>
</context-param>

or, 2. Pass the conversation id explicitly, e.g.

<h:commandButton value="Guess" action="#{numberGuess.guess}">
  <s:conversationId/>
</h:commandButton>

or 

<input type='hidden' name='conversationId' value='#{conversation.id}'/>



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

jboss-seam-2.3.0.Final-redhat-1

How reproducible:

Always

Steps to Reproduce:
1. Enable the org.jboss.seam.test.integration.faces.RestoreViewComponentAccessTest
2. Run integration tests
  
Actual results:
Test fails

Expected results:
Test passes

Additional info:

See the upstream https://issues.jboss.org/browse/JBSEAM-4976 and related issues for more information and applicable workarounds.

Comment 1 mark yarborough 2012-11-05 15:22:27 UTC
Known issue for WFK 2.1.

Comment 4 Marek Schmidt 2013-03-19 11:47:05 UTC
Verified on WFK 2.2.0.ER2

Comment 5 Sneha 2013-03-21 08:51:04 UTC
Updated Doc Text.

Comment 6 Karel Piwko 2013-05-14 14:50:14 UTC
Closed as CURRENTRELEASE, part of WFK 2.2.0 distributables.


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