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

Inplace edit of object properties does not update the current page version in the javascript xwiki-meta API

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 13.4.7
    • None
    • Unknown

    Description

      This concerns the In place object property editor added by XWIKI-17213 and the xwiki-meta javascript API, documented here https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/FrontendResources/JavaScriptAPI/#HGetsomeinformationaboutthecurrentdocument .

      How to reproduce (using a custom javascript included in the XWiki ui):

      • create a page from an application within minutes, at version 1.1
      • call the xwiki-meta.version API in the custom javascript, the response is 1.1
      • update one property of the page using the inplace object property editor
        • at this point an entry will be added in the page history, minor, IIRC
      • call the xwiki-meta.version API in the custom javascript again

      Expected result:

      • 1.2

      Actual result:

      • 1.1

      Attachments

        Activity

          People

            Unassigned Unassigned
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: