Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23301

Fix 'userprofile' content enricher

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.10, 9.2
    • Fix Version/s: 8.10-HF19, 9.3
    • Component/s: Rest API

      Description

      Here is userprofile schema:

      <?xml version="1.0"?>
      <xs:schema targetNamespace="http://www.nuxeo.core/ecm/schemas/userprofile/"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:nxs="http://www.nuxeo.core/ecm/schemas/userprofile/">
      
        <xs:include schemaLocation="core-types.xsd" />
      
        <xs:element name="avatar" type="nxs:content" />
        <xs:element name="birthdate" type="xs:date" />
        <xs:element name="phonenumber" type="xs:string" />
        <xs:element name="gender" type="xs:boolean" default="false" />
        <xs:element name="locale" type="xs:string" />
      </xs:schema>
      

      Here is the userprofile content enricher's output:

        "contextParameters": {
          "userprofile": {
            "birthdate": null,
            "phonenumber": null,
            "avatar": null
          }
        }
      

      Fields gender and locale are missing.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours
                  1d 2h