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

Importing of Snipsnap Content causes No group 3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 1.0 Release Candidate 3
    • None
    • None
    • None

    Description

      Cheers for getting that import to work. Now many issues need to be resolved with the imported content.

      Here's a few things I'm seeing.

      • No backward support for existing snipsnap macros (understandable since you're not snipsnap). Get a funny error:

      <snip>
      WARNING: MacroFilter: unable to format macro: file
      java.lang.IndexOutOfBoundsException: No group 3
      at java.util.regex.Matcher.group(Matcher.java:355)
      at org.radeox.filter.regex.MatchResult.group(MatchResult.java:42)
      at com.atlassian.confluence.renderer.radeox.filters.MacroFilter.handleMatch(MacroFilter.java:136)
      at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:91)
      at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
      at com.atlassian.confluence.renderer.radeox.AbstractRenderEngine.render(AbstractRenderEngine.java:75)
      at com.atlassian.confluence.renderer.radeox.ConfluenceRenderEngine.render(ConfluenceRenderEngine.java:45)
      at com.atlassian.confluence.renderer.radeox.RadeoxWikiStyleRenderer.convertWikiToXHtml(RadeoxWikiStyleRenderer.java:1
      39)
      at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:59)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:201)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
      at com.atlassian.confluence.util.profiling.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:17)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:196)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:135)
      at $Proxy24.convertWikiToXHtml(Unknown Source)
      at com.atlassian.confluence.pages.actions.ViewPageAction.execute(ViewPageAction.java:107)
      </snip>

      Please provide documentation on how to extend Confluence (seet CONF-661) and add Macros, espically those from Snipsnap.

      • Attachments are not included (Again for obvious reasons) but please provide instructions on how to import Attachments.
      • Not every snip made it. We have a bunch of snips with a | in the name and ( ). This worked in snip snap. The page is recorded as being imported but no page is displayed (gives a warning that the page doesn't exist)

      e.g Akt1|(PKB)|RAC-a|PRKBA (as a page name)
      produces
      The following error(s) occurred:
      The page specified does not exist.

      That's it for now, I'm going to keep working on getting the import to go smoothly

      Attachments

        Activity

          People

            cmiller@atlassian.com Charles Miller
            noahcampbell Noah Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: