Beehive
  1. Beehive
  2. BEEHIVE-795

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: v1m1
    • Fix Version/s: 1.0
    • Component/s: NetUI
    • Labels:
      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") }

      )

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Julie Zhuo
            Reporter:
            John Rohrlich
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development