Forrest
  1. Forrest
  2. FOR-1245

enable configuration of Cocoon sitemap map:handle-errors

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10-dev
    • Fix Version/s: 0.10-dev
    • Component/s: Core operations
    • Labels:
      None

      Description

      Cocoon has a neat "Error Handling" ability. This is already partially configured in Forrest. However we need a way to enable forrest-using "projects" to configure the main sitemap.xmap to add a "map:handle-errors" section.

        Activity

        Hide
        David Crossley added a comment -
        Added in http://svn.apache.org/r1551467 (and r1551468)
        to enable configuration of the top-level sitemap for additional exception selectors per project.

        See the http://forrest.apache.org/faq.html#handle-errors
        Show
        David Crossley added a comment - Added in http://svn.apache.org/r1551467 (and r1551468) to enable configuration of the top-level sitemap for additional exception selectors per project. See the http://forrest.apache.org/faq.html#handle-errors
        Hide
        David Crossley added a comment -
        Added in http://svn.apache.org/r1550140 (and r1550141).
        Using an xml entity in main/webapp/sitemap.xmap
        Show
        David Crossley added a comment - Added in http://svn.apache.org/r1550140 (and r1550141). Using an xml entity in main/webapp/sitemap.xmap
        Hide
        David Crossley added a comment -
        The "map:handle-errors" section needs to be added to the actual sitemap from which the errors arise. Forrest has various sitemaps.

        For example, extra stuff that you manage in a project sitemap, such as specialised content which is then serialized as "xml-document" which enables the higher-level forrest sitemaps to do the actual html generation. A section for "map:handle-errors" could be added to your project sitemap, but it would only handle errors in the "source" pipelines. Your users would not normally be directly requesting that. Instead they would request html pipelines. This is done in the main webapp/sitemap.xmap file, so each project needs a method to configure that.
        Show
        David Crossley added a comment - The "map:handle-errors" section needs to be added to the actual sitemap from which the errors arise. Forrest has various sitemaps. For example, extra stuff that you manage in a project sitemap, such as specialised content which is then serialized as "xml-document" which enables the higher-level forrest sitemaps to do the actual html generation. A section for "map:handle-errors" could be added to your project sitemap, but it would only handle errors in the "source" pipelines. Your users would not normally be directly requesting that. Instead they would request html pipelines. This is done in the main webapp/sitemap.xmap file, so each project needs a method to configure that.

          People

          • Assignee:
            David Crossley
            Reporter:
            David Crossley
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development