RSS/Atom feeds return too few Items when restricted items are excluded
----------------------------------------------------------------------

                 Key: DS-374
                 URL: http://jira.dspace.org/jira/browse/DS-374
             Project: DSpace 1.x
          Issue Type: Bug
          Components: JSPUI, XMLUI
    Affects Versions: 1.5.2, 1.6.0
            Reporter: Larry Stone
            Priority: Minor


The logic for excluding restricted (i.e. not world-readable) Items from the 
RSS/Atom feeds results in too few Items being shown if any are actually 
excluded.  For example, when the DSpace Configuration properties set 
harvest.includerestricted.rss = false, and webui.feed.items = 4, if two of the 
selected (i.e. latest) Items are restricted then the feed will only list 2 
items instead of the configured 4.

This is a natural result of filtering by the access check _after_ getting the 
requested number of results from the browse system.  The effect is the same in 
both JSPUI and XMLUI implementations of syndication feeds.

To demonstrate the effect, get a feed of e.g. 4 Items.  Modify one of those 
Items to remove the Anonymous READ access at the Item level. Be sure your 
configuration sets harvest.includerestricted.rss = false.  Get the same feed, 
and observe that there is one fewer Item than the count configured in 
webui.feed.items.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to