Uploaded image for project: 'Providence'
  1. PROV-2884

Using "relationships" within "parents" in a hierarchy builder fails when there is more than one level

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 1.7
    • Fix versions: 1.7.9
    • Components: Data importer
    • Labels:
      None

      Description

      In the data importer, in a hierarchy builder, using refinery options with "relationships" on specific "parents" where there's more than one parent, results in improper application of relationships due to misalignment of options with parent entries. An example configuration exhibiting the issue is:

      "{""matchOn"":[""label"",""idno""],
      ""parents"": [{
      ""idno"": ""%"",
      ""name"": ""^24"",
      ""type"": ""folder"",
      ""attributes"": {
      ""description"": ""^26""
      },
      ""relationships"": [{
      ""relatedTable"": ""ca_storage_locations"",
      ""type"": ""location"",
      ""relationshipType"": ""current"",
      ""idno"": ""^25"",
      ""preferred_labels"": ""Box ^25""
      }]
      }, {
      ""idno"": ""^20"",
      ""name"": ""^21"",
      ""type"": ""subsubseries"",
      ""attributes"": {
      ""scopecontent"": ""^22""
      }
      },
      {
      ""idno"": ""^8"",
      ""name"": ""^9"",
      ""type"": ""subseries"",
      ""attributes"": {
      ""adminbiohist"": ""^10"",
      ""scopecontent"": ""^11"",
      ""coverageDates"": ""^12"",
      ""arrangement"": ""^13"",
      ""internal_notes"": ""^14"",
      ""keywords"": ""^16"",
      ""see_also"": [""^18"", ""^19""]

      }
      },
      {
      ""idno"": ""^4"",
      ""name"": ""^5"",
      ""type"": ""series"",
      ""attributes"": {
      ""see_also"": [""^6"", ""^7""]
      }

      },

      {
      ""idno"": ""^2"",
      ""name"": ""^3"",
      ""type"": ""recordgrp""
      },
      {
      ""idno"": ""%"",
      ""name"": ""^1"",
      ""type"": ""collection""
      }
      ]
      }"

        Attachments

          Activity

            People

            • Assignee:
              Seth
              Reporter:
              Talya Cooper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: