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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.8
    • 2.7
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: