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

Space Home Page not created for spaces with interesting characters in their names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • None
    • None

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Adding a Space with the name "!4368td52@#$%^" creates the space, but no home page is created due to the following error:

      [atlassian.event.internal.EventPublisherImpl] invokeListeners There was an exception thrown trying to dispatch event 'com.atlassian.confluence.event.events.space.SpaceCreateEvent[source=com.atlassian.confluence.spaces.DefaultSpaceManager@572f88ec]' from the invoker 'com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker@39722ed5'.
       -- url: /confluence/spaces/createspace.action | userName: admin | referer: http://tsunami:8080/confluence/dashboard.action | action: createspace
      java.lang.IllegalArgumentException: Illegal group reference
      	at java.util.regex.Matcher.appendReplacement(Matcher.java:713)
      	at java.util.regex.Matcher.replaceAll(Matcher.java:813)
      	at java.lang.String.replaceAll(String.java:2189)
      	at com.atlassian.confluence.util.GeneralUtil.populateSimpleMessage(GeneralUtil.java:2039)
      	at com.atlassian.confluence.spaces.listeners.InitialSpaceContentListener.getDefaultHomePageContent(InitialSpaceContentListener.java:155)
      	at com.atlassian.confluence.spaces.listeners.InitialSpaceContentListener.createHomePage(InitialSpaceContentListener.java:131)
      	at com.atlassian.confluence.spaces.listeners.InitialSpaceContentListener.handleSpaceCreate(InitialSpaceContentListener.java:89)
      

      The problem is in the way the default home page content is being created - the "This is the home of the

      {0}

      space" part is choking when trying to use "!4368td52@#$%^" in parameter substitution.

      Attachments

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              dtaylor David Taylor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: