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

The Retention Retain Until property not set correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 10.10-HF23, 11.1-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Retention
    • Upgrade notes:
      Hide

      Please see the Comment for more details. The record:retainUntil is needed for storing the previous / last ecm:retainUntil.

      Show
      Please see the Comment for more details. The record:retainUntil is needed for storing the previous / last ecm:retainUntil.
    • Sprint:
      nxApps 2020 Cycle 12

      Description

      When exporting the information of a record, the retainUntil value is different from the  record:retainUntil value (the last one is null). See the JSON export of a record:

      {
        "entity-type": "document",
        "repository": "default",
        "uid": "2bd3691a-f8b7-47f5-bf45-ccf3a485ac00",
        "path": "/HR/Juju2/nihil-fugiat-iure-voluptatem-42.pdf",
        "type": "HumanResourcesDocument",
        "state": "project",
        "parentRef": "e49bb955-ef45-4013-9eed-e9b574a9b490",
        "isCheckedOut": true,
        "isRecord": true,
        "retainUntil": "2021-03-25T14:38:40.308+01:00",
        "hasLegalHold": false,
        "isUnderRetentionOrLegalHold": true,
        "isVersion": false,
        "isProxy": false,
        "changeToken": "2-0",
        "isTrashed": false,
        "title": "nihil-fugiat-iure-voluptatem-42.pdf",
        "lastModified": "2020-03-25T13:38:39.566Z",
        "properties": {
          "uid:uid": null,
          "uid:major_version": 0,
          "uid:minor_version": 0,
          "thumb:thumbnail": {
            "name": "nihil-fugiat-iure-voluptatem-42.png",
            "mime-type": "image/png",
            "encoding": null,
            "digestAlgorithm": "MD5",
            "digest": "4101789c2016e3a4ec2ebb70ed8076ee",
            "length": "167083",
            "data": "http://localhost:8080/nuxeo/nxfile/default/2bd3691a-f8b7-47f5-bf45-ccf3a485ac00/thumb:thumbnail/nihil-fugiat-iure-voluptatem-42.png?changeToken=2-0"
          },
          "file:content": {
            "name": "nihil-fugiat-iure-voluptatem-42.pdf",
            "mime-type": "application/pdf",
            "encoding": null,
            "digestAlgorithm": "MD5",
            "digest": "ddddd055afe7579e1fa9f675922f7e39",
            "length": "30324",
            "data": "http://localhost:8080/nuxeo/nxfile/default/2bd3691a-f8b7-47f5-bf45-ccf3a485ac00/file:content/nihil-fugiat-iure-voluptatem-42.pdf?changeToken=2-0"
          },
          "common:icon-expanded": null,
          "common:icon": "/icons/pdf.png",
          "record:retainUntil": null,
          "record:ruleIds": [
            "dabeb419-893f-43d7-b6d6-35c3cb2ca902"
          ],
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 2 hours
                  2h