PageAwareInterceptor sets the wrong page if you try to set the page title to an existing page

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Medium
    • None
    • Affects Version/s: 3.0
    • Component/s: None

      If you try to save a draft with a title that already exists, the PageAwareInterceptor will set the page to the existing page of the same name.

      This could create all kinds of funkiness.

      It could be fixed by placing :

      if (action instanceof PageAware && action.getClass() != CreatePageAction.class)
      

      in the interceptor.

              Assignee:
              Steve Haffenden (Inactive)
              Reporter:
              Andrew Lynch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: