Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7929

Different behaviour when returning fields between reference and resource property mappers

    XMLWordPrintable

    Details

    • Bug
    • Status: Dev backlog
    • Major
    • Resolution: Unresolved
    • 7.0.0, 7.1.0
    • None
    • rest
    • None

      Description

      During the work for OPENDJ-7853, Cedric Tran-Xuan noticed that resource (resource reference) and reference (inline resource) property mappers behave differently: by default a ReferencePropertyMapper returns all the fields while a ResourcePropertyMapper only returns the mandatory fields.

      This is very surprising, and I am inclined to say this is a bug since I expect both to behave the same: I think both should only return references to the objects when no fields are requested.

      Note: we would need to check that IDM and IDCloud are not affected by this change.

        Attachments

          Issue Links

            Activity

              People

              Unassigned Unassigned
              JnRouvignac Jean-Noël Rouvignac
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: