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

Islandora XML Forms, Form builder schema update hook breaks deployment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.x-1.11
    • Fix Version/s: 7.x-1.12
    • Component/s: XML Form Builder
    • Labels:
      None

      Description

      Update hook 7106, in specific this line https://github.com/Islandora/islandora_xml_forms/blob/7.x/builder/xml_form_builder.install#L525 fails if there is an actual XML association with a NULL value for XSLT transform value.

      This value can be set as NULL if MODS to DC is enabled as a global derivative option, which basically removes all those XLST Form fields from the admin association UI when selected.

      A possible options to fix this would be
      A) Even when MODS to DC is selected as a derivative, if we require that field to be not null, maybe we could force that field to be a default XSLT (even when invisible)
      B) Change 7106 update hook so it does not force that Table field to be null and create a new 7107 hook that fixes existing values and then sets, in the schema, it to be NULL again.

      Tagging Jonathan Green

        Attachments

          Activity

            People

            • Assignee:
              jonathan.green Jonathan Green
              Reporter:
              dpinokrayon Diego Pino Navarro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: