Uploaded image for project: 'JIRA Components'
  1. JIRA Components
  2. JIRA-93

Jira macro displays inline error when followed by another inline macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Blocker
    • 11.1.1
    • 11.1.0
    • JIRA Macro
    • XWiki 17.9.0 and Jira 11.1.0
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Add the below as page source on any test page
        {{jira url="https://jira.xwiki.org" source="jql" fields="type,key,status,'Flickering Test':'List of flickering tests'"}}
        "Flickering Test" is not empty
        {{/jira}}
        
        =Title 1
        |{{info}}Text{{/info}}
        
        
      2. Preview page and then save

      Actual result

      When you preview, you will see the query result as a Jira table and a simple table with an info box message at the bottom of the page. But after saving the page, the Jira macro will return an error "The "table" style for the "jira" macro cannot be used inline. Click on this message for details."

      Expected result

      The result of Jira macro is rendered and displayed on save.

      Note

      You can force result in view by disabling asynchronization

      http://localhost/xwiki/bin/view/Sandbox/TestPage1?async=false

      . In other cases, a similar result can be observed using other macros, ex. JIRA-70.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              npetrenko Nikita Petrenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: