Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-795

Missing compile error when annotating a shared flow as "longLived"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • v1m1
    • 1.0
    • NetUI
    • None

    Description

      A shared flow is implicitly "longLived" because it remains in the session unless explicitly deleted before the end of the session. The "longLived" annotation should be disallowed on a shared flow.

      This code compiles without error, but I think it should produce an error.

      @Jpf.Controller(longLived=true,
      simpleActions=

      { @Jpf.SimpleAction(name="home", path="/home.faces") }

      ,
      catches=

      { @Jpf.Catch(type=PageFlowException.class, method="handlePageFlowException"), @Jpf.Catch(type=Exception.class, method="handleException") }

      )

      Attachments

        Activity

          People

            jzhuo Julie Zhuo
            rohrlich John Rohrlich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: