Child pages
  • Why isn't our Prepare interceptor being executed

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Sometimes the order of the Interceptors makes a difference. In the case of the prepare Interceptor, ensure that it comes before validation on the interceptor-stack.

Code Block
xml
xml
<interceptor-stack name="myInterceptorStack">
        ...
     <interceptor-ref name="prepare" />
        ...
     <interceptor-ref name="validation" />
        ...
  </interceptor-stack>
Info

The default stack does place the prepare Interceptor before the validation Inteceptor.