Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13509

Cannot convert content written in a syntax added dynamically in an extension

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 9.5-rc-1
    • Component/s: Panels
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Use case:

      • Install the markdown syntax extension
      • Navigate to Sandbox.WebHome
      • Edit and try to convert it to Markdown 1.1

      Result: You won't be proposed to convert the content.

      The reason is because the list of available parsers/renderers is computed in the JSX which is defined with a caching of "Long". Thus if you don't force-refresh the page you don't get it recomputed.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: