Re: [dspace-tech] Re: Use advanced filters in custom search form on DSpace homepage

2020-01-14 Thread Ondřej Košarko
Hi, You should be able to use solr document field names in your queries, eg to search only in authors, search for: - dc.contributor.author:"Bloggs*" ( http://demo.dspace.org/xmlui/discover?scope=%2F=dc.contributor.author%3A%22Bloggs*%22= ) - author:"Bloggs*" (

Re: [dspace-tech] Question about health check results

2018-05-15 Thread Ondřej Košarko
Technically the value is the number of results of the following sql query "SELECT bitstream_id FROM bitstream WHERE deleted<>true AND bitstream_id NOT IN (SELECT resource_id FROM resourcepolicy WHERE resource_type_id=0)", which gets you the bistreams that are not deleted, but are not in the

[dspace-tech] Re: Assign Role-Based Groups based on values from multiple Shib attributes

2018-01-17 Thread Ondřej Košarko
Hi, seems to me that we have that in our fork of dspace (see example configuration in https://github.com/ufal/clarin-dspace/pull/744/files#diff-7af0c4da25387f79141b778592fa58fbR211). Though our ShibbolethAuthentication is different from the original, so it might not be that straightforward

Re: [dspace-tech] Can't create items through REST

2016-10-04 Thread Ondřej Košarko
hub.com/BrunoNZ/dspace-rest-requests/blob/ > master/send_request.sh > > I haven't tested what you've said yet, but if true, it is a big issue! > > Em sex, 30 de set de 2016 às 12:14, Ondřej Košarko < > kosa...@ufal.mff.cuni.cz> escreveu: > >> Hi, >> I'm having an is

[dspace-tech] Can't create items through REST

2016-09-30 Thread Ondřej Košarko
Hi, I'm having an issue while creating an item as a non admin user through REST API. I've added the user to collection submit, but am still getting ERROR org.dspace.rest.CollectionsResource @ User(fake_em...@example.com) has not permission to write collection! I was going through the code and

[dspace-tech] Issue with tomcat 8.0.32

2016-06-10 Thread Ondřej Košarko
Dear all, In case you are running tomcat 8.0.32 and are experiencing strange issues such as the exception below org.apache.cocoon.ProcessingException: Sitemap: error calling function 'doSubmission' at - resource://aspects/Submission/sitemap.xmap ... Caused by:

Re: [dspace-tech] REST interface unexpectedly forwarding to https / port 8443

2016-05-27 Thread Ondřej Košarko
Hi, this behavior is documented in https://wiki.duraspace.org/display/DSDOC5x/REST+API quoting: "In DSpace 5, the REST API adds authentication, allows Creation, Update, and Delete to objects, can access restricted materials if authorized, and it requires SSL. For localhost development purposes,

Re: [dspace-tech] DSpace 6.0 Testathon begins TODAY, runs through May 6!

2016-05-05 Thread Ondřej Košarko
Hey, Somehow I didn't see the Feedback button. Could You please add the testathon label to https://jira.duraspace.org/browse/DS-3202, broken OAI-PMH would probably be an issue for many, it'd be sad for the bug to go unnoticed... Cheers, Ondrej 2016-04-25 20:56 GMT+02:00 Tim Donohue

Re: [dspace-tech] ${dspace.dir} not filtered in [dspace-install]/config/dspace.cfg?

2015-12-08 Thread Ondřej Košarko
Hi, @helix84 are you sure it's wrong to have ${dspace.dir} in variables such as assetstore? The ConfigurationManager has some interpolation implemented ( https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/core/ConfigurationManager.java#L833 ) If I run