Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-2266

Parent objects that do not have the "islandora:compoundCModel" cmodel get their first child's TN

    XMLWordPrintable

    Details

    • Type: Code Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Labels:
      None

      Description

      Comments in https://github.com/Islandora/islandora_solution_pack_compound/blob/7.x/includes/derivatives.inc#L84 indicate that parent objects that do not have the "islandora:compoundCModel" content model should not get their TNs replaced by their first child's TN. The code appears to follow that logic. But, this function is not called when you add a child object to a non "islandora:compoundCModel" object, at least using the standard "Add child objects" GUI. The result is that all parent objects, regardless of content model, get their first child's TN.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpinokrayon Diego Pino Navarro
              Reporter:
              markj Mark Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: