You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <be...@incubator.apache.org> on 2005/08/12 18:04:54 UTC

[jira] Created: (BEEHIVE-884) Change URLTemplate.verify() to log template errors rather than throw IllegalStateException

Change URLTemplate.verify() to log template errors rather than throw IllegalStateException 
-------------------------------------------------------------------------------------------

         Key: BEEHIVE-884
         URL: http://issues.apache.org/jira/browse/BEEHIVE-884
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: v1m1    
    Reporter: Carlin Rogers
 Assigned to: Carlin Rogers 
    Priority: Minor
     Fix For: V1


Currently URLTemplate.verify()  throws an IllegalStateException if there's a problem finding a
required token (or verifying a known token). The exception is not caught, even in the 
PageFlowContextListener, during the Servlet initialization and other processing of the URL
template config file. The URLTemplatesFactory logs errors for missing values or names
etc.

To be consistent, I'd like to change the URLTemplate.verify() method so that it just logs
errors, and the remainder of the initialization process can continue on.

-- 
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


[jira] Updated: (BEEHIVE-884) Change URLTemplate.verify() to log template errors rather than throw IllegalStateException

Posted by "Carlin Rogers (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-884?page=all ]

Carlin Rogers updated BEEHIVE-884:
----------------------------------

    Attachment: j884-patch.txt

This patch modifies URLTemplate.verify() to log template errors rather than throw
an IllegalStateException. It also updates the corresponding junit test.

> Change URLTemplate.verify() to log template errors rather than throw IllegalStateException
> ------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-884
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-884
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>     Priority: Minor
>      Fix For: V1
>  Attachments: j884-patch.txt
>
> Currently URLTemplate.verify()  throws an IllegalStateException if there's a problem finding a
> required token (or verifying a known token). The exception is not caught, even in the 
> PageFlowContextListener, during the Servlet initialization and other processing of the URL
> template config file. The URLTemplatesFactory logs errors for missing values or names
> etc.
> To be consistent, I'd like to change the URLTemplate.verify() method so that it just logs
> errors, and the remainder of the initialization process can continue on.

-- 
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


[jira] Resolved: (BEEHIVE-884) Change URLTemplate.verify() to log template errors rather than throw IllegalStateException

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-884?page=all ]
     
Rich Feit resolved BEEHIVE-884:
-------------------------------

    Resolution: Fixed
     Assign To: Alejandro Ramirez  (was: Rich Feit)

Committed with revision 232849.

> Change URLTemplate.verify() to log template errors rather than throw IllegalStateException
> ------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-884
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-884
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>     Reporter: Carlin Rogers
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: V1
>  Attachments: j884-patch.txt
>
> Currently URLTemplate.verify()  throws an IllegalStateException if there's a problem finding a
> required token (or verifying a known token). The exception is not caught, even in the 
> PageFlowContextListener, during the Servlet initialization and other processing of the URL
> template config file. The URLTemplatesFactory logs errors for missing values or names
> etc.
> To be consistent, I'd like to change the URLTemplate.verify() method so that it just logs
> errors, and the remainder of the initialization process can continue on.

-- 
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


[jira] Assigned: (BEEHIVE-884) Change URLTemplate.verify() to log template errors rather than throw IllegalStateException

Posted by "Carlin Rogers (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-884?page=all ]

Carlin Rogers reassigned BEEHIVE-884:
-------------------------------------

    Assign To: Rich Feit  (was: Carlin Rogers)

Assigning to Rich to review for V1. Thanks.

> Change URLTemplate.verify() to log template errors rather than throw IllegalStateException
> ------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-884
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-884
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>     Reporter: Carlin Rogers
>     Assignee: Rich Feit
>     Priority: Minor
>      Fix For: V1
>  Attachments: j884-patch.txt
>
> Currently URLTemplate.verify()  throws an IllegalStateException if there's a problem finding a
> required token (or verifying a known token). The exception is not caught, even in the 
> PageFlowContextListener, during the Servlet initialization and other processing of the URL
> template config file. The URLTemplatesFactory logs errors for missing values or names
> etc.
> To be consistent, I'd like to change the URLTemplate.verify() method so that it just logs
> errors, and the remainder of the initialization process can continue on.

-- 
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


[jira] Assigned: (BEEHIVE-884) Change URLTemplate.verify() to log template errors rather than throw IllegalStateException

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-884?page=all ]

Nathan Jantz reassigned BEEHIVE-884:
------------------------------------

    Assign To: Nathan Jantz  (was: Alejandro Ramirez)

> Change URLTemplate.verify() to log template errors rather than throw IllegalStateException
> ------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-884
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-884
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>     Reporter: Carlin Rogers
>     Assignee: Nathan Jantz
>     Priority: Minor
>      Fix For: V1
>  Attachments: j884-patch.txt
>
> Currently URLTemplate.verify()  throws an IllegalStateException if there's a problem finding a
> required token (or verifying a known token). The exception is not caught, even in the 
> PageFlowContextListener, during the Servlet initialization and other processing of the URL
> template config file. The URLTemplatesFactory logs errors for missing values or names
> etc.
> To be consistent, I'd like to change the URLTemplate.verify() method so that it just logs
> errors, and the remainder of the initialization process can continue on.

-- 
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