[Dspace-tech] Potential Bug in SolrBrowseCreateDAO

2014-04-25 Thread Christian Scheible
Hi together, I found a potential Bug in org.dspace.browse.SolrBrowseCreateDAO.additionalIndex(Context, DSpaceObject, SolrInputDocument). At least the comment suggests (and it makes sense) that withdrawn items schould not be indexed. But the if clause says: if it is archived OR withdrawn =

[Dspace-tech] R: Potential Bug in SolrBrowseCreateDAO

2014-04-25 Thread Andrea Bollini
Thanks Christian to have reported that. The comment is wrong it was introduced when discovery was used only for search. SolrBrowse needs to have withdrawn items in the index because a browse withdrawn (and also private) items function exist. I'm out of office so it will be appreciate if you can

Re: [Dspace-tech] R: Potential Bug in SolrBrowseCreateDAO

2014-04-25 Thread Christian Scheible
Hi Andrea, I created issue DS-1985 to record the need to fix it. Best Christian Am 25.04.2014 10:17, schrieb Andrea Bollini: Thanks Christian to have reported that. The comment is wrong it was introduced when discovery was used only for search. SolrBrowse needs to have withdrawn items in

[Dspace-tech] Statistics (Minho or whatever)

2014-04-25 Thread biblioteca
Hi! We want to improve the statistics menu in our DSpace XMLUI (Mirage theme) website and we have seen the RepositoriUM from Minho statistics addon. The problem is that we are using DSpace 4.0 and some of the explanations of the documentation are old. Is there any way to implement that patch

[Dspace-tech] itemupdate issue

2014-04-25 Thread Monika C. Mevenkamp
I stole code from app.itemupdate | AddBitstreamsAction trying to come up with a program that can replace the bitstream contents of an item with a new version of the bitstream. I got real close but noticed that deleting the item after the addition of the bitstream fails. The error ERROR:

[Dspace-tech] Suppress Access-controlled Items from Sitemap Generator

2014-04-25 Thread Terry Brady
We have a large collections of items that is visible only to our university community. These items appear in our sitemap (We are running DSpace 3.1). When our site is crawled, this triggers a large number of errors. Ideally, we would like to suppress items, collections, and communities without

Re: [Dspace-tech] itemupdate issue

2014-04-25 Thread Hilton Gibson
Hi Monica Please see: https://jira.duraspace.org/browse/DS-1619 and https://jira.duraspace.org/browse/DS-1920 This probably applies after an upgrade from 1.8.2. Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036

Re: [Dspace-tech] Suppress Access-controlled Items from Sitemap Generator

2014-04-25 Thread Terry Brady
Here is the solution I am considering in org.dspace.app.sitemap. GenerateSitemaps. Replace ItemIterator allItems = Item.findAllAnon(c); With String myQuery = SELECT * FROM item WHERE in_archive='1' + and exists (select 1 from resourcepolicy + where