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

Items without date.accessioned are perminantly sorted to the top of all date based searches.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.1, 3.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      3

      Description

      Almost all items in DSpace have a dc.date.accessioned because it is automatically assigned when the item is created. There are two conditions which can occur that causes an item to get lose it's accessioned date.

      1) A person with editing privileges on an item removes the dc.date.accessioned metadata field.

      2) The item's accessioned date is created via the InstallItem.restore() method.

      When one of these conditions occur the item gets inserted into the browsing sort table with a null value. When ever a recent submission query is run these items will always be returned first because Postgres and Oracle always return NULLS first when executing an ORDER BY clause. This means that these items are permanently penned at the top of the RSS feed and recent submissions sections sections.

        Attachments

          Activity

            People

            Assignee:
            scottphillips Scott Phillips
            Reporter:
            scottphillips Scott Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: