Uploaded image for project: 'Records Management'
  1. Records Management
  2. RM-4572

When a electronic record is created within an unfiled folder/container the record name value doesn't contain the Record Id

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: record ingestion (benchmark)
    • Fix Version/s: None
    • Component/s: REST API
    • Labels:
    • Bug Priority:
      Category 1
    • Sprint:
      Flamebird 6 - The Grinch, Flamebird 7 - Parallax, Flamebird 8 - Two-face
    • Story Points:
      2

      Description

      Steps to reproduce:
      Create an electronic record via the post request within an unfiled record folder
      E.g:

      POST
      http://localhost:8080/alfresco/api/-default-/public/ig/versions/1/fileplan-components/-unfiled-/children
      
      {
        "name":"My Electronic Record",
        "nodeType":"cm:content"
      }
      

      Actual result:
      The record is created but for the name is returned the name without the Record ID

       "name": "My Electronic Record",
      

      Expected Result:
      The value for the name should have also the Record ID value.

       "entry": {
              "isFile": true,
              "createdByUser": {
                  "id": "admin",
                  "displayName": "Administrator"
              },
              "modifiedAt": "2017-01-03T09:39:04.440+0000",
              "nodeType": "cm:content",
              "content": {
                  "mimeType": "application/octet-stream",
                  "mimeTypeName": "Binary File (Octet Stream)",
                  "sizeInBytes": 0,
                  "encoding": "UTF-8"
              },
              "parentId": "c78dd146-2da4-4dc3-811e-6bc4b804bf43",
              .....
              "name": "My Electronic Record",
              .....
          }
      

      When creating nonelectronic records the RecordID value is returned.
      When creating electronic records within a record folder the Record ID is returned.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  rsutu Rodica Sutu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel