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

Multimedia macro doesn't work when the attachment contains non-latin character

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 5.0-OD-8, 5.0.1
    • None
    • Discovered in Confluence AOD 5.0-OD-7

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

      When you have an attachment or a video that contains non-latin character in the filename (e.g. Обзор.mp4. Multimedia macro will fail renders it with the following error:

      Error rendering macro 'multimedia' : com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'Обзор.mp4'

      In the log, this will be thrown:

      2012-09-19 17:53:40.627787500 2012-09-19 17:53:40,626 ERROR [TP-Processor7] [xhtml.view.macro.ViewMacroMarshaller] marshal Exception executing macro: multimedia, with message: com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'Обзор Yammer - Camstasia.mp4'
      2012-09-19 17:53:40.627789500  -- url: /wiki/display/ATS/Copy | page: 1114202 | userName: sysadmin | action: viewpage
      

      Workaround

      Rename the filename of the attachment/video to remove the offending characters.

            [CONFSERVER-26667] Multimedia macro doesn't work when the attachment contains non-latin character

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2895104 ] New: CONFSERVER Bug Workflow v4 [ 2987520 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2783171 ] New: JAC Bug Workflow v3 [ 2895104 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2708543 ] New: JAC Bug Workflow v2 [ 2783171 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372422 ] New: JAC Bug Workflow [ 2708543 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2300140 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372422 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234329 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2300140 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196640 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234329 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1928398 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196640 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1731409 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1928398 ]
            jonah (Inactive) made changes -
            Description Original: When you have an attachment or a video that contains non-latin character in the filename (e.g. {{Обзор.mp4}}. Multimedia macro will fail renders it with the following error:
            {quote}
            Error rendering macro 'multimedia' : com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'Обзор.mp4'
            {quote}

            In the log, this will be thrown:
            {code}
            2012-09-19 17:53:40.627787500 2012-09-19 17:53:40,626 ERROR [TP-Processor7] [xhtml.view.macro.ViewMacroMarshaller] marshal Exception executing macro: multimedia, with message: com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'Обзор Yammer - Camstasia.mp4'
            2012-09-19 17:53:40.627789500 -- url: /wiki/display/ATS/Copy | page: 1114202 | userName: sysadmin | action: viewpage
            {code}

            h4. Workaround
            Rename the filename of the attachment/video to remove the offending characters.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/CONFCLOUD-26667].
              {panel}

            When you have an attachment or a video that contains non-latin character in the filename (e.g. {{Обзор.mp4}}. Multimedia macro will fail renders it with the following error:
            {quote}
            Error rendering macro 'multimedia' : com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'Обзор.mp4'
            {quote}

            In the log, this will be thrown:
            {code}
            2012-09-19 17:53:40.627787500 2012-09-19 17:53:40,626 ERROR [TP-Processor7] [xhtml.view.macro.ViewMacroMarshaller] marshal Exception executing macro: multimedia, with message: com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'Обзор Yammer - Camstasia.mp4'
            2012-09-19 17:53:40.627789500 -- url: /wiki/display/ATS/Copy | page: 1114202 | userName: sysadmin | action: viewpage
            {code}

            h4. Workaround
            Rename the filename of the attachment/video to remove the offending characters.

              Unassigned Unassigned
              halatas HuseinA
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: