Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-524

It is an error to configure cyclic references between managed beans.

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.9m9
    • 1.1.0
    • JSR-127
    • None

    Description

      Acording to the spec (section 5.3.1.3, p5-12), "It is an error to configure cyclic references between managed beans".
      In the current implementation, a StackOverflowException is thrown in the org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:44) if there is a cyclic reference. We should catch it and throw a FacesException instead...

      (managedBeanCyclicReferenceTest)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            oros Oliver Rossmueller
            bruno_dev Bruno Aranda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment