[ 
http://jira.dspace.org/jira/browse/DS-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart Lewis updated DS-374:
----------------------------

    Attachment: 
RSSAtom_feeds_return_too_few_Items_when_restricted_items_are_excluded.patch

Patch uploaded.

If DSpace is set to filter-out restricted items, in the JSPUI it turns off the 
cache so that it is generated for the user. In the XMLUI it is still cached so 
the same problem as in the earlier comment applies. One way to get around this 
might be to assume admin users are also happy to see the restricted RSS feeds 
(since most RSS readers can't authenticate anyway).



> 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
>            Assignee: Stuart Lewis
>            Priority: Minor
>         Attachments: 
> RSSAtom_feeds_return_too_few_Items_when_restricted_items_are_excluded.patch
>
>
> 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

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to