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

Too many HTTP requests made when loading a Live Data that displays xobjects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 13.4-rc-1
    • Fix Version/s: 13.5-rc-1, 13.4.1
    • Component/s: Live Data
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The problem is that the xobjectPropertyDisplayer requests the display value for each object property even though it has it already in the live data entries. It only needs to request the edit mode. The view mode would have to be requested only if we were updating individual cells after editing, but since we're updating the entire live data page it means we should never request the view mode. We only need to request the edit mode. The view mode is available in the live data JSON.

        Attachments

          Activity

            People

            Assignee:
            mleduc Manuel Leduc
            Reporter:
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: