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

Newspaper Solution Pack/Batch Ingest Handles MODS Discrepancies Poorly

    Details

      Description

      In the case that someone has an imperfect MODS, or no MODS, the forms as they are now do not work to use the dateIssued field. As the module works now, the dateIssued field is essential for displaying issues in a newspaper.

      The form to enter missing dateIssued fields (some-newspaper-object-on-your-site/manage/newspaper) only works if the originInfo tag is already present in MODS; it doesn't bother to create one if it isn't present. When using Newspaper Batch, if there is no MODS present, one is generated, but it only has mods and titleInfo/title tags.

      That form also doesn't appear to deal well with mods prefixes, which presents an issue if the MODS datastream is edited via the mods form when the original MODS datastream only contained mods and titleInfo/title tags, since the mods form adds a mods prefix to all tags in that case, and possibly in other cases as well? In this case, the only way to get the dateIssued field to be recognized is to upload a new MODS.xml file with the prefixes taken out.

       

      Test info:

      There is a Newspaper Test Batch attachment on this ticket, with issue numbers and title numbers that map to the numbers of the list below:

      NewspaperTestBatch.zip has:
      1. one issue with a perfect mods (without prefixes, with originInfo tag AND dateIssued tag WITH a valid date)
      2. one issue without a mods
      3. one issue with a mods, without prefixes, without originInfo tag
      4. one issue with a mods, without prefixes, with originInfo tag, without dateIssued tag
      5. one issue with a mods, without prefixes, with originInfo tag, with dateIssued tag, without a date in the tag
      6. one issue with a mods, without prefixes, with originInfo tag, with dateIssued tag, with a mal-formatted date in the tag (Ex: January 6, 2017)
      7. one issue with a mods, with prefixes, without originInfo tag
      8. one issue with a mods, with prefixes, with originInfo tag, without dateIssued tag
      9. one issue with a mods, with prefixes, with originInfo tag, with dateIssued tag, without a date in the tag
      10. one issue with a mods, with prefixes, with originInfo tag, with dateIssued tag, with a mal-formatted date in the tag (Ex: January 6, 2017)
      11. one issue with a mods, with prefixes, with originInfo tag, with dateIssued tag, with a correctly formatted date in the tag

      12. one issue with a mods, without prefixes, with originInfo tag, with dateIssued tag, with an arbitrary string in the tag (Ex: some garbage date)

      13. one issue with a mods, without prefixes, with originInfo tag, with dateIssued tag, with an arbitrary string in the tag (Ex: some garbage date)

      1, 6, 10, and 11 from the list above should work without adding a date in any forms. 5 and 9 should end up having the date of ingest in RELS-EXT with no date in MODS, which can be edited via the usual mods form. 2, 3, 4, 7, 8, 12, and 13 listed above should all require a date entered in the form at whatever-test-newspaper-you-have/manage/newspaper, and that should work smoothly.

        Attachments

          Activity

            People

            • Assignee:
              johanna Johanna Vessey
              Reporter:
              johanna Johanna Vessey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: