Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2573

OAI Item Record contains all virtual sets independent if the item is in the set or not

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1, 5.2, 5.3
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      6
    • Documentation Status:
      Not Required

      Description

      If an oai context contains for example 2 virtual sets.
      S1. Items with dc.identifier.doi
      S2. Items without dc.identifier.doi

      and wie have 2 Items:
      A with doi
      B without doi

      then as expected:
      S1 only contains item A
      S2 only contains item B

      But if you look at Item A with GetRecord than the record shows that the item is part of S1 and S2 which is false.
      This is due to a bug in the xoai library:
      https://github.com/lyncode/xoai/blob/xoai-3.2.9/src/main/java/com/lyncode/xoai/dataprovider/data/internal/ItemIdentifyHelper.java#L23
      It add's a set to an item independent of the filter.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              christian.scheible Christian Scheible
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: