Re: [dspace-tech] Re: Question about thumbnail replacements

2017-03-06 Thread Alan Orth
George, I suspect your problem is actually that you are uploading your manually created thumbnails during item submission, in which case they get placed in the ORIGINAL aka "content files" bundle. When the filter-media script runs at night it makes a thumbnail of this image and places it in the TH

[dspace-tech] Re: Question about thumbnail replacements

2017-03-06 Thread IPST LIbrary
Hi, For PDF bitstream, I renamed my specific PNG thumbnails in format $BITSTREAMFILENAME.PDF.PNG. Hope this help. Anuchit On Monday, March 6, 2017 at 9:54:30 PM UTC+7, George Kozak wrote: > > HI... > I am not sure if this has been discussed before, but I am having a problem > with thumbna

[dspace-tech] Date searching gone haywire.

2017-03-06 Thread Nathan Fralick
When using date searching in our repository, the search doesn't function as one would think. It almost acts as a key word search. I am sure the problem lies within the dc code, where date isn't referencing the right index. I am a beginner at coding and could use some help/advice troubleshooting.

Re: [dspace-tech] DSpace with multiple handle prefixes

2017-03-06 Thread Alan Orth
Tom, Ah! Great. Thank you for explaining that, as I'm unfamiliar with the ConfigurationManager.getBooleanProperty() construct. Regards, On Mon, Mar 6, 2017 at 5:42 PM Tom Desair wrote: > Hi Alan, > > You do need to set the variable to "false". The codes stats this: > > if > (ConfigurationManag

Re: [dspace-tech] DSpace with multiple handle prefixes

2017-03-06 Thread Tom Desair
Hi Alan, You do need to set the variable to "false". The codes stats this: > if > (ConfigurationManager.getBooleanProperty("handle.plugin.checknameauthority",true)) The ",true))" part here is important. This tells DSpace "if you cannot find that property in the dspace.cfg file, assume it is tru

[dspace-tech] Question about thumbnail replacements

2017-03-06 Thread George Kozak
HI... I am not sure if this has been discussed before, but I am having a problem with thumbnails. I am using DSpace 5.5 (XMLUI, modified Mirage2 theme). We have an item to which we added a JPEG thumbnail, but when filter media ran overnight, it created a new generated thumbnail that replaced our th

Re: [dspace-tech] DSpace with multiple handle prefixes

2017-03-06 Thread Alan Orth
Thanks for chiming in, Tom! I think someone should re-write that comment in HandlePlugin.java to be more straight forward (trivial pull request, anyone?). Also, since the handle.plugin.checknameauthority variable is undefined by default that test will fail, meaning we don't actually need to set it

Re: [dspace-tech] Hibernate SQL Join Query

2017-03-06 Thread Stefan Fritzsche
Hi Tom, you made my day! Thanks again :). On 06.03.2017 13:00, Tom Desair wrote: Hi Stefan, When writing a query in Hibernate it is important that you think in terms of objects (classes) and not in terms of database tables. Hibernate will do the translation to database tables for you. So

Re: [dspace-tech] DSpace with multiple handle prefixes

2017-03-06 Thread Tom Desair
Hi Alan, No you have to set that property to "false". If set to true, the handle plugin will only allow handle resolution for the default handle prefix ( https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/handle/HandlePlugin.java#L328). But since you want to resol

Re: [dspace-tech] Hibernate SQL Join Query

2017-03-06 Thread Tom Desair
Hi Stefan, When writing a query in Hibernate it is important that you think in terms of objects (classes) and not in terms of database tables. Hibernate will do the translation to database tables for you. So your query should look like: > select bagit from Bagit as bagit > join bagit.item as ite

[dspace-tech] Hibernate SQL Join Query

2017-03-06 Thread Stefan Fritzsche
Dear Members, i try to exedent DSpace to store the bitstreams of one item in one bagit structur in the assetstore. However, i create a class that represent the bagit object and one class for the DAO object. To get a link between the item and bag i use a join table item2bagit to hold the item_i

[dspace-tech] Re: Dissemination Crosswalk class for OAI

2017-03-06 Thread Evgeni Dimitrov
The idea behind SimpleDCDisseminationCrosswalk.java remains not clear, but there is workaround. One can use a crosswalk marcxml.xsl like this: . . . xmlns:marcxml="org.dspace.xoai.metadataFormats.MarcXML" . . . Everything necessary can be done in the Java method. On Thursday, March 2, 2