Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-105

URL macro parameter value is not imported in XWiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.15.1
    • 9.15.0
    • XML
    • None
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      When importing a page that contains a Microsoft Stream macro, the URL parameter value is not copied to the xwiki macro content.

      The confluence macro syntax :

      <ac:structured-macro ac:name="net-presago-stream-macro" ac:schema-version="1" data-layout="default" ac:local-id="1234" ac:macro-id="1234"><ac:parameter ac:name="start">00:01</ac:parameter><ac:parameter ac:name="width">90%</ac:parameter><ac:parameter ac:name="uri"><ri:url ri:value="https://web.microsoftstream.com/video/123" /></ac:parameter><ac:parameter ac:name="autoplay">true</ac:parameter><ac:parameter ac:name="height">95%</ac:parameter></ac:structured-macro>
      

      where the URL is

      <ri:url ri:value="https://web.microsoftstream.com/video/123" />
      

      The result after import:

      {{net-presago-stream-macro start="00:01" width="90%" uri="" autoplay="true" height="95%"/}}
      

      Attachments

        Issue Links

          Activity

            People

              oana.florean@xwiki.com Florean Oana-Lavinia
              oana.florean@xwiki.com Florean Oana-Lavinia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: