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

         Key: BEEHIVE-795
         URL: http://issues.apache.org/jira/browse/BEEHIVE-795
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1    
    Reporter: John Rohrlich
    Priority: Minor


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")
    }
)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to