Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 39016 invoked from network); 19 Dec 2005 06:09:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Dec 2005 06:09:50 -0000 Received: (qmail 13047 invoked by uid 500); 19 Dec 2005 06:09:46 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 13006 invoked by uid 500); 19 Dec 2005 06:09:46 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 12983 invoked by uid 99); 19 Dec 2005 06:09:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Dec 2005 22:09:45 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [202.188.0.162] (HELO av4.tm.net.my) (202.188.0.162) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Dec 2005 22:09:43 -0800 Received: from av4.tm.net.my (localhost [127.0.0.1]) by av4.tm.net.my (iPlanet Messaging Server 5.2 HotFix 2.03 (built Nov 22 2004)) with ESMTP id <0IRQ000EJEFL14@av4.tm.net.my> for users@myfaces.apache.org; Mon, 19 Dec 2005 14:09:22 +0800 (SGT) Received: from bar10.tm.net.my ([172.19.0.22]) by av4.tm.net.my (iPlanet Messaging Server 5.2 HotFix 2.03 (built Nov 22 2004)) with ESMTP id <0IRQ002ITEFL59@av4.tm.net.my> for users@myfaces.apache.org; Mon, 19 Dec 2005 14:09:21 +0800 (SGT) Received: from yee (unknown [219.95.248.97]) by bar10.tm.net.my (Spam Firewall) with ESMTP id 26D3ED4AE9DB for ; Mon, 19 Dec 2005 14:09:09 +0800 (MYT) Date: Mon, 19 Dec 2005 14:09:08 +0800 From: Yee CN Subject: Session Scope Bean does NOT require serialization. Myfaces bug? To: 'MyFaces Discussion' Reply-to: yeecn@streamyx.com Message-id: <003c01c60462$b8e7c160$7501a8c0@yee> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 X-Mailer: Microsoft Office Outlook 11 Content-type: multipart/alternative; boundary="Boundary_(ID_FoviRFkaeGIM9DBwt0Gw3A)" Thread-index: AcYEYriWOBDGy/TQSOyga7EDa+u9qg== X-Virus-Scanned: by SF 10 Outbound at tm.net.my X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --Boundary_(ID_FoviRFkaeGIM9DBwt0Gw3A) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hi, I have a bean that is NOT serializable but yet I am able to set its scope to session. So does that mean that putting a bean to session scope does not requires serialization? Or is it a myfaces bug? I am raising this question because I have a piece of code that worked in 1.1.1 release but failed in latest nightly build. The piece of code is trying to do: , so it should rightly fail and it is a bug that got fixed in the nightly built. That this bean is still able to participate in Session scope makes me wonder whether there is a lingering bug in Myfaces state saving. I am using the 20051217 build. Best regards, Yee --Boundary_(ID_FoviRFkaeGIM9DBwt0Gw3A) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT

Hi,

 

I have a bean that is NOT serializable but yet I am able to set its scope to session. So does that mean that putting a bean to session scope does not requires serialization? Or is it a myfaces bug?

 

I am raising this question because I have a piece of code that worked in 1.1.1 release but failed in latest nightly build. The piece of code is trying to do: <t:saveState value=”myNotSerializableBean” />, so it should rightly fail and it is a bug that got fixed in the nightly built. That this bean is still able to participate in Session scope makes me wonder whether there is a lingering bug in Myfaces state saving. I am using the 20051217 build.

 

Best regards,

Yee

 

 

--Boundary_(ID_FoviRFkaeGIM9DBwt0Gw3A)--