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

                 Key: DS-1052
                 URL: https://jira.duraspace.org/browse/DS-1052
             Project: DSpace
          Issue Type: Bug
          Components: DSpace API
            Reporter: Scott Phillips
            Assignee: Scott Phillips
            Priority: Major



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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to