From jira-events at lists.jboss.org Tue Aug 7 09:53:57 2007 Content-Type: multipart/mixed; boundary="===============4174312165742517731==" MIME-Version: 1.0 From: Richard Leherpeur (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Tue, 07 Aug 2007 09:53:56 -0400 Message-ID: <4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com> --===============4174312165742517731== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Infinite loop when in some pages.xml configuration -------------------------------------------------- Key: JBSEAM-1770 URL: http://jira.jboss.com/jira/browse/JBSEAM-1770 Project: JBoss Seam Issue Type: Bug Affects Versions: 2.0.0.BETA1 Environment: windows XP, RHEL 5.0 Reporter: Richard Leherpeur You can download this example on the Seam web site: navigation.zip I have the following classes: Code: @Name("user") @Scope(ScopeType.CONVERSATION) public class User implements Serializable { private String pet; public String getPet() { return pet; } public void setPet(String pet) { this.pet =3D pet; } } = Code: @Name("navigation") @Scope(ScopeType.CONVERSATION) public class Navigation implements Serializable { @In(required=3Dtrue) User user; @Logger private Log log; public String animalOutcome(){ if (user =3D=3D null){ return "Dog"; // Just to make sure we don't return null } log.info("********* Outcome: " + user.getPet()); return user.getPet(); } public User getUser() { return user; } public void setUser(User user) { this.user =3D user; } } = Code: @Name("animals") public class AnimalList { private List animals; = @Unwrap public List unwrap() { if (animals =3D=3D null) { animals =3D new ArrayList(); animals.add("Dog"); animals.add("Cat"); animals.add("Goldfish"); animals.add("Rabbit"); animals.add("Snake"); animals.add("Parrot"); } return animals; } } = Pages.xhtml is defined as followed: Code: = = The pageflow is defined as: Code: = = = And finally the pageOne.xhtml: Code: Test Navigation

Choose an animal

= When I select an animal, I get the following stacktrace: Code: INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/default/= tmp/d eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-fa= celet s.jar!/META-INF/jstl-core.taglib.xml 13:23:07,046 INFO [Navigation] ********* Outcome: Cat 13:23:07,218 INFO [Navigation] ********* Outcome: Cat 13:23:07,281 INFO [Navigation] ********* Outcome: Cat 13:23:07,359 INFO [Navigation] ********* Outcome: Cat 13:23:07,437 INFO [Navigation] ********* Outcome: Cat 13:23:07,515 INFO [Navigation] ********* Outcome: Cat 13:23:07,609 INFO [Navigation] ********* Outcome: Cat 13:23:07,687 INFO [Navigation] ********* Outcome: Cat 13:23:07,781 INFO [Navigation] ********* Outcome: Cat 13:23:07,859 INFO [Navigation] ********* Outcome: Cat 1: Code: ... = where #{navigation.outcome} returns outcome -> redirection to /animalPage.xhtml (which doesn't exist) because evaluate = EL expression is never called 2: Code: ... = where #{navigation.animalOutcome} returns void and #{navigation.outcome} re= turns outcome -> We enter a loop where action expression is called then evaluate expressi= on is called, etc.... 3: Code: ... = where #{navigation.animalOutcome} returns outcome -> We enter a loop where action expression is called indefinitely 4: Code: ... = where #{navigation.animalOutcome} returns outcome -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============4174312165742517731==-- From jira-events at lists.jboss.org Wed Aug 8 07:53:57 2007 Content-Type: multipart/mixed; boundary="===============2386467329111006506==" MIME-Version: 1.0 From: Pete Muir (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Wed, 08 Aug 2007 07:53:57 -0400 Message-ID: <33000001.1186574037887.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2386467329111006506== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/JBSEAM-1770?page=3Dall ] Pete Muir reassigned JBSEAM-1770: --------------------------------- Assignee: Pete Muir > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: http://jira.jboss.com/jira/browse/JBSEAM-1770 > Project: JBoss Seam > Issue Type: Bug > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Assigned To: Pete Muir > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============2386467329111006506==-- From jira-events at lists.jboss.org Sun Jan 27 17:22:22 2008 Content-Type: multipart/mixed; boundary="===============1400212256576228425==" MIME-Version: 1.0 From: Pete Muir (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Sun, 27 Jan 2008 17:18:22 -0500 Message-ID: <1359146.1201472302108.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============1400212256576228425== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/JBSEAM-1770?page=3Dall ] Pete Muir updated JBSEAM-1770: ------------------------------ Component/s: Core > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: http://jira.jboss.com/jira/browse/JBSEAM-1770 > Project: JBoss Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Assigned To: Pete Muir > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============1400212256576228425==-- From jira-events at lists.jboss.org Sat Mar 1 08:20:58 2008 Content-Type: multipart/mixed; boundary="===============3308609105795888076==" MIME-Version: 1.0 From: Pete Muir (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Sat, 01 Mar 2008 08:20:58 -0500 Message-ID: <9153362.1204377658218.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============3308609105795888076== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/JBSEAM-1770?page=3Dcomments#action_= 12401051 ] = = Pete Muir commented on JBSEAM-1770: ----------------------------------- Can you provide an attached app which shows this? It needs to have an ant s= cript which we can use to build and deploy to JBoss AS with HSQL as the dat= abase. > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: http://jira.jboss.com/jira/browse/JBSEAM-1770 > Project: JBoss Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Assigned To: Pete Muir > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============3308609105795888076==-- From jira-events at lists.jboss.org Sat Mar 1 08:22:57 2008 Content-Type: multipart/mixed; boundary="===============4103629000684529071==" MIME-Version: 1.0 From: Pete Muir (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Sat, 01 Mar 2008 08:22:57 -0500 Message-ID: <10077409.1204377777735.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============4103629000684529071== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/JBSEAM-1770?page=3Dall ] Pete Muir updated JBSEAM-1770: ------------------------------ Fix Version/s: 2.1.0.GA > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: http://jira.jboss.com/jira/browse/JBSEAM-1770 > Project: JBoss Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Assigned To: Pete Muir > Fix For: 2.1.0.GA > > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============4103629000684529071==-- From jira-events at lists.jboss.org Wed Mar 19 19:29:53 2008 Content-Type: multipart/mixed; boundary="===============5261092073436378433==" MIME-Version: 1.0 From: Pete Muir (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Wed, 19 Mar 2008 19:29:53 -0400 Message-ID: <5012305.1205969393878.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============5261092073436378433== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/JBSEAM-1770?page=3Dall ] Pete Muir updated JBSEAM-1770: ------------------------------ Fix Version/s: 2.1.0.GA (was: 2.1.0.BETA1) > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: http://jira.jboss.com/jira/browse/JBSEAM-1770 > Project: JBoss Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Assigned To: Pete Muir > Fix For: 2.1.0.GA > > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.jboss.com/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============5261092073436378433==-- From jira-events at lists.jboss.org Tue Jul 29 16:56:52 2008 Content-Type: multipart/mixed; boundary="===============6331205884010130258==" MIME-Version: 1.0 From: Pete Muir (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Tue, 29 Jul 2008 16:56:52 -0400 Message-ID: <29996728.1217365012725.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============6331205884010130258== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBSEAM-1770?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Pete Muir updated JBSEAM-1770: ------------------------------ Fix Version/s: 2.1.0.BETA2 (was: 2.1.0.GA) > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: https://jira.jboss.org/jira/browse/JBSEAM-1770 > Project: Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Assignee: Pete Muir > Fix For: 2.1.0.BETA2 > > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============6331205884010130258==-- From jira-events at lists.jboss.org Mon Aug 25 23:46:38 2008 Content-Type: multipart/mixed; boundary="===============2095557805004660161==" MIME-Version: 1.0 From: Richard Leherpeur (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Mon, 25 Aug 2008 23:46:38 -0400 Message-ID: <30641844.1219722398903.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2095557805004660161== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBSEAM-1770?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Leherpeur updated JBSEAM-1770: -------------------------------------- Attachment: navigation.zip This app recreates the issue > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: https://jira.jboss.org/jira/browse/JBSEAM-1770 > Project: Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Assignee: Pete Muir > Fix For: 2.1.0.BETA2 > > Attachments: navigation.zip > > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============2095557805004660161==-- From jira-events at lists.jboss.org Tue Sep 2 15:23:39 2008 Content-Type: multipart/mixed; boundary="===============1812311592460649617==" MIME-Version: 1.0 From: Pete Muir (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Tue, 02 Sep 2008 15:23:38 -0400 Message-ID: <16115163.1220383418940.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============1812311592460649617== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBSEAM-1770?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Pete Muir updated JBSEAM-1770: ------------------------------ Assignee: (was: Pete Muir) > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: https://jira.jboss.org/jira/browse/JBSEAM-1770 > Project: Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Fix For: 2.1.0.CR1 > > Attachments: navigation.zip > > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============1812311592460649617==-- From jira-events at lists.jboss.org Mon Sep 15 22:02:20 2008 Content-Type: multipart/mixed; boundary="===============2927897679329903814==" MIME-Version: 1.0 From: Shane Bryzak (JIRA) To: seam-issues at lists.jboss.org Subject: [jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1770) Infinite loop when in some pages.xml configuration Date: Mon, 15 Sep 2008 22:02:20 -0400 Message-ID: <4288254.1221530540809.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 4437585.1186494836913.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2927897679329903814== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBSEAM-1770?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Shane Bryzak updated JBSEAM-1770: --------------------------------- Fix Version/s: The future (was: 2.1.0.CR1) > Infinite loop when in some pages.xml configuration > -------------------------------------------------- > > Key: JBSEAM-1770 > URL: https://jira.jboss.org/jira/browse/JBSEAM-1770 > Project: Seam > Issue Type: Bug > Components: Core > Affects Versions: 2.0.0.BETA1 > Environment: windows XP, RHEL 5.0 > Reporter: Richard Leherpeur > Fix For: The future > > Attachments: navigation.zip > > > You can download this example on the Seam web site: navigation.zip > I have the following classes: > Code: > @Name("user") > @Scope(ScopeType.CONVERSATION) > public class User implements Serializable { > private String pet; > public String getPet() { > return pet; > } > public void setPet(String pet) { > this.pet =3D pet; > } > } > = > Code: > @Name("navigation") > @Scope(ScopeType.CONVERSATION) > public class Navigation implements Serializable { > @In(required=3Dtrue) > User user; > @Logger > private Log log; > public String animalOutcome(){ > if (user =3D=3D null){ > return "Dog"; // Just to make sure we don't return null > } > log.info("********* Outcome: " + user.getPet()); > return user.getPet(); > } > public User getUser() { > return user; > } > public void setUser(User user) { > this.user =3D user; > } > } > = > Code: > @Name("animals") > public class AnimalList > { > private List animals; > = > @Unwrap > public List unwrap() > { > if (animals =3D=3D null) > { > animals =3D new ArrayList(); > animals.add("Dog"); > animals.add("Cat"); > animals.add("Goldfish"); > animals.add("Rabbit"); > animals.add("Snake"); > animals.add("Parrot"); > } > return animals; > } > } > = > Pages.xhtml is defined as followed: > Code: > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pages http://= jboss.com/products/seam/pages-2.0.xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > = > > = > The pageflow is defined as: > Code: > xmlns=3D"http://jboss.com/products/seam/pageflow" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://jboss.com/products/seam/pageflow http:/= /jboss.com/products/seam/pageflow-2.0.xsd" > name=3D"navigation"> > = > > > > > > > > > = > > = > And finally the pageOne.xhtml: > Code: > xmlns:c=3D"http://java.sun.com/jstl/core" > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:s=3D"http://jboss.com/products/seam/taglib"> > > > Test Navigation > > >
>

Choose an animal

> > > > > > >
> > > = > When I select an animal, I get the following stacktrace: > Code: > INFO: Added Library from: jar:file:/C:/Jboss/jboss-4.2.0.GA/server/defaul= t/tmp/d > eploy/tmp50163navigation.ear-contents/navigation-exp.war/WEB-INF/lib/jsf-= facelet > s.jar!/META-INF/jstl-core.taglib.xml > 13:23:07,046 INFO [Navigation] ********* Outcome: Cat > 13:23:07,218 INFO [Navigation] ********* Outcome: Cat > 13:23:07,281 INFO [Navigation] ********* Outcome: Cat > 13:23:07,359 INFO [Navigation] ********* Outcome: Cat > 13:23:07,437 INFO [Navigation] ********* Outcome: Cat > 13:23:07,515 INFO [Navigation] ********* Outcome: Cat > 13:23:07,609 INFO [Navigation] ********* Outcome: Cat > 13:23:07,687 INFO [Navigation] ********* Outcome: Cat > 13:23:07,781 INFO [Navigation] ********* Outcome: Cat > 13:23:07,859 INFO [Navigation] ********* Outcome: Cat > 1: > Code: > > > ... > = > where #{navigation.outcome} returns outcome > -> redirection to /animalPage.xhtml (which doesn't exist) because evaluat= e EL expression is never called > 2: > Code: > > > ... > = > where #{navigation.animalOutcome} returns void and #{navigation.outcome} = returns outcome > -> We enter a loop where action expression is called then evaluate expres= sion is called, etc.... > 3: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely > 4: > Code: > > > ... > = > where #{navigation.animalOutcome} returns outcome > -> We enter a loop where action expression is called indefinitely -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============2927897679329903814==--