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

JSX Objects are not loaded in the Rendered Diff view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.2-rc-1, 14.10.7
    • 15.1
    • Skin - Skinx
    • None
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Steps to reproduce:

      1. Have a macro that has some JS to modify the view. The JS should be added using JSX objects
      2. Add the macro on a page
      3. Modify the macro content
      4. Check the differences between versions, using the rendered diff view

      Expected result: both versions of the macro (before and after) have the JS code executed

      Actual result: the JS is not executed

      This can lead to inconsistencies in what the user would expect to see in the rendered diff view.
      This usecase can be tested with the MathJax Macro.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: