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

An object can be stored in the database without some of its properties

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 10.8.1, 10.9
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Hard
    • Documentation:
      N/A
    • Similar issues:

      Description

      It is a problem because when we write a query like this:

      from doc.object(MyClass) AS myObject ORDER BY myObject.myProperty
      

      some objects are not listed.

      I would rather have this objects filled with properties set to NULL when they are missing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: