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

If a macro is defined on two pages and one of these pages is deleted, the macro is not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Minor
    • None
    • 9.11.8
    • Rendering - WikiMacro
    • None
    • Unknown

    Description

      If a macro is defined in two wiki pages, and one of them is deleted, then the macro is no longer found.

      If the other page is edited, or the servlet container is restarted, the macro is available again.

       

      For one use case see MOCCACAL-129.

      Another use case might be that someone copies a wiki page containing a macro definition by accident, figures out their error and deletes the copied page. Afterwards the macro in the original page is still defined, but no longer available.

      As I said, a restart of the server fixes this. Also installing or updating an extension fixes this as well, as such an operation causes all wiki macros to be re-fetched.

      Attachments

        Activity

          People

            camil7 Clemens Robbenhaar
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: