I'm facing the same issue with these versions but I also tried: jbossAS 4.0.5.GA, jbossportal-2.6.0-DR1 and jbossSeam from cvs (yesterday) and this issue remains, that is, the conversation is lost.
I think that the problem is that the conversationId is not being written to the response when a validation fails. I see that in the class SeamPortletPhaseListener the conversationId is being written only if one of these conditions is true:
- event.getPhaseId() == INVOKE_APPLICATION
When a validation fails, both of them are false every time that the method afterPhase is executed.
Any idea if this is going to be fixed in the next version?
Thanks in advance,
OK, this is certainly a bug. Is getRenderResponse() returning true, at least?
Yes, when a validation fails event.getFacesContext().getRenderResponse() is returning true in the afterPhase method executed after the phase PROCESS_VALIDATIONS.
Fixed in CVS, please test it for me, thanks.
It works. (tested with jboss-4.0.5.GA and jbossportal-2.6.0-DR1)