Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-16694

After renaming a BlogPost, pageManager.getById() return a Page, not a BlogPost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Low Low
    • None
    • 3.0.1
    • None
    • Standalone, Java 1.6.0_15-b03, Windows.

      After renaming a BlogPost, pageManager.getById() starts to return a Page, not a BlogPost.

      It only seems to happen when inside an Action. Inside a Macro, it works fine, it returns a BlogPost.

      And it only seems to happen after the BlogPost is renamed. Before renaming it, it works fine, it returns a BlogPost. After the renaming, it returns a Page.

      Before:

      url of blogpost 'blogpost: demo page v.1 (13598761)'=/display/test/2009/08/23/demo+page

      After:

      url of page 'page: demo page - renamed v.2 (13598761)'=/display/test/demo+p
      age+-+renamed

        1. DemoMacro.java
          2 kB
        2. DemoAction.java
          3 kB

              Unassigned Unassigned
              5a9ab946d8b5 Ben Aveling
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: