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

The context document should automatically be marked as used in the AsyncContext

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 12.9-rc-1
    • 11.10.10
    • Old Core
    • None
    • Unknown

    Description

      If you have an async script which only manipulate the current document through $doc, that document won't be automatically marked as used and won't be invalidated when this document is modified.

      It's of course possible to explicitly mark it as used using the async script service but it seems to be common enough to worth an automatic use and (valid) use cases where you enable the context document without using it is probably rare.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: