You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2008/10/09 13:06:46 UTC

[jira] Created: (FOR-1127) Allow contracts to fail without provoking an abortion of structurer processing

Allow contracts to fail without provoking an abortion of structurer processing
------------------------------------------------------------------------------

                 Key: FOR-1127
                 URL: https://issues.apache.org/jira/browse/FOR-1127
             Project: Forrest
          Issue Type: New Feature
          Components: Plugin: internal.dispatcher
            Reporter: Thorsten Scherler
            Priority: Minor


Imaging contract "xyz" will fail. Now we throw an exception and abort processing. 

However it may be desirable that the process continues since the contract may not be critical for the overall result.

This is a nice possible future feature. One can imaging to use an @critical='true|false' to indicate whether to fail or not.

e.g.  
<forrest:contract 
    critical="false"
    name="siteinfo-meta-navigation" 
    dataURI="cocoon://#{$getRequest}.navigation.xml"/>

with this tag the dispatcher will not fail if the contact fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-1127) Allow contracts to fail without provoking an abortion of structurer processing

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Crossley updated FOR-1127:
--------------------------------

    Description: 
Imagine contract "xyz" will fail. Now we throw an exception and abort processing. 

However it may be desirable that the process continues since the contract may not be critical for the overall result.

This is a nice possible future feature. One can imagine to use an @critical='true|false' to indicate whether to fail or not.

e.g.  
<forrest:contract 
    critical="false"
    name="siteinfo-meta-navigation" 
    dataURI="cocoon://#{$getRequest}.navigation.xml"/>

with this tag the dispatcher will not fail if the contact fails.

  was:
Imaging contract "xyz" will fail. Now we throw an exception and abort processing. 

However it may be desirable that the process continues since the contract may not be critical for the overall result.

This is a nice possible future feature. One can imaging to use an @critical='true|false' to indicate whether to fail or not.

e.g.  
<forrest:contract 
    critical="false"
    name="siteinfo-meta-navigation" 
    dataURI="cocoon://#{$getRequest}.navigation.xml"/>

with this tag the dispatcher will not fail if the contact fails.


> Allow contracts to fail without provoking an abortion of structurer processing
> ------------------------------------------------------------------------------
>
>                 Key: FOR-1127
>                 URL: https://issues.apache.org/jira/browse/FOR-1127
>             Project: Forrest
>          Issue Type: New Feature
>          Components: Plugin: internal.dispatcher
>            Reporter: Thorsten Scherler
>            Priority: Minor
>
> Imagine contract "xyz" will fail. Now we throw an exception and abort processing. 
> However it may be desirable that the process continues since the contract may not be critical for the overall result.
> This is a nice possible future feature. One can imagine to use an @critical='true|false' to indicate whether to fail or not.
> e.g.  
> <forrest:contract 
>     critical="false"
>     name="siteinfo-meta-navigation" 
>     dataURI="cocoon://#{$getRequest}.navigation.xml"/>
> with this tag the dispatcher will not fail if the contact fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-1127) Allow contracts to fail without provoking an abortion of structurer processing

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler updated FOR-1127:
-----------------------------------

    Description: 
Imagine contract "xyz" will fail. Now we throw an exception and abort processing. 

However it may be desirable that the process continues since the contract may not be critical for the overall result.

This is a nice possible future feature. One can imagine to use an @critical='true|false' to indicate whether to fail or not.

e.g.  
<forrest:contract 
    critical="false"
    name="siteinfo-meta-navigation" 
    dataURI="cocoon://#{$getRequest}.navigation.xml"/>

with this tag the dispatcher will not fail if the contract fails.

  was:
Imagine contract "xyz" will fail. Now we throw an exception and abort processing. 

However it may be desirable that the process continues since the contract may not be critical for the overall result.

This is a nice possible future feature. One can imagine to use an @critical='true|false' to indicate whether to fail or not.

e.g.  
<forrest:contract 
    critical="false"
    name="siteinfo-meta-navigation" 
    dataURI="cocoon://#{$getRequest}.navigation.xml"/>

with this tag the dispatcher will not fail if the contact fails.


> Allow contracts to fail without provoking an abortion of structurer processing
> ------------------------------------------------------------------------------
>
>                 Key: FOR-1127
>                 URL: https://issues.apache.org/jira/browse/FOR-1127
>             Project: Forrest
>          Issue Type: New Feature
>          Components: Plugin: internal.dispatcher
>            Reporter: Thorsten Scherler
>            Priority: Minor
>
> Imagine contract "xyz" will fail. Now we throw an exception and abort processing. 
> However it may be desirable that the process continues since the contract may not be critical for the overall result.
> This is a nice possible future feature. One can imagine to use an @critical='true|false' to indicate whether to fail or not.
> e.g.  
> <forrest:contract 
>     critical="false"
>     name="siteinfo-meta-navigation" 
>     dataURI="cocoon://#{$getRequest}.navigation.xml"/>
> with this tag the dispatcher will not fail if the contract fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.