Renaming a blogpost to use an illegal character causes exception instead of a simple error/try-again page

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.8
    • Affects Version/s: 2.7
    • Component/s: None

      It seems that the validation code that we use for pagename-validation has not been applied to blogposts when editing blogposts was implemented in 2.7 (or was it 2.6?)

      I get this exception if I add hyphens or slashes:

      com.atlassian.core.exception.InfrastructureException: Invalid page title: Page ordering roadmap meeting – 06/FEB/2008
      at com.atlassian.confluence.pages.AbstractPage.setTitle(AbstractPage.java:60)
      at com.atlassian.confluence.pages.actions.EditBlogPostAction.doEdit(EditBlogPostAction.java:19)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)

              Assignee:
              Chris Broadfoot [Atlassian]
              Reporter:
              Per Fragemann [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: