Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-1127

Allow contracts to fail without provoking an abortion of structurer processing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thorsten Thorsten Scherler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: