[Dspace-tech] SubmissionInfo in AbstractSubmissionStep/AbstractProcessingStep (passing

2013-06-10 Thread Jonathan Freesbay
Hi, I have two classes, core.UploadStep and xmlui.UploadStep, using in the item submission wizard. I have added a select box which is saved in submissionInfo in core.UploadStep and the selection should be remembered in xmlui when going back to the step. In xmlui.UploadStep, the following is

Re: [Dspace-tech] Editing dspace-api and compiling

2013-06-07 Thread Jonathan Freesbay
Hi helix8, mvn clean package did the trick. Thanks! 2013/6/6 helix84 heli...@centrum.sk I can see no obvious problem. canEditItemInWorkflow() is a new static method both added and called by the patch. It's called as a static method, too. First thing I'd try is clearing the Cocoon cache

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-05-31 Thread Jonathan Freesbay
Hi, It looks like it only works in Firefox. In IE I get Invalid source. The same file works in other static web servers. Looking at the content type, I got video/mp4;charset=ISO-8859-1. This should be just video/mp4. How can I change this? Thanks,

Re: [Dspace-tech] Submission form saves only unique contributors

2013-05-30 Thread Jonathan Freesbay
name=handle value={1}/{2}/ /map:call /map:match map:serialize type=xml/ /map:when Thanks! 2013/4/29 helix84 heli...@centrum.sk On Fri, Apr 26, 2013 at 9:09 AM, Jonathan Freesbay j.frees...@gmail.com wrote: One

[Dspace-tech] Exporting dublin_core.xml (registering bitstream)

2013-05-13 Thread Jonathan Freesbay
Hi, I have two related questions: (1) Is there a programmatically way (in Java) to register (not copy) a bitstream on local disk? The only way I see is using itemupdate from the command line. (2) I want to add a bitstream to the database (inbox for large files). I do this by exporting the item

Re: [Dspace-tech] LDAP not working (AD): error code 34 - 0000208F\colon; NameErr\colon; DSID-031001F7, problem 2006 (BAD_NAME)

2013-04-26 Thread Jonathan Freesbay
OK, got it: object_context was empty, should be set to the ou where the user is. 2013/4/2 helix84 heli...@centrum.sk Sorry I can't be of more help. Here are some more observations, but they probably won't directly help you. Here's what result=2 means: /** User exists, but credentials

Re: [Dspace-tech] Submission form saves only unique contributors

2013-04-26 Thread Jonathan Freesbay
Hi, It looks like it's simple as editing org.dspace.identifier.HandleIdentifierProvider.java, populateHandleMetadata: It only adds the metadata if it doesn't exist. One new question: I would like to use the wizard again to update the item. This is, as I see it, default not possible. Does this

Re: [Dspace-tech] LDAP not working (AD): error code 34 - 0000208F\colon; NameErr\colon; DSID-031001F7, problem 2006 (BAD_NAME)

2013-04-02 Thread Jonathan Freesbay
Hi Helix87, No, not a related problem. I can navigate the AD with my account. Must I have specific rights for the authentication of users? Regards, 2013/3/25 helix84 heli...@centrum.sk Hi Jonathan, does this help?

[Dspace-tech] LDAP not working (AD): error code 34 - 0000208F\colon; NameErr\colon; DSID-031001F7, problem 2006 (BAD_NAME)

2013-03-23 Thread Jonathan Freesbay
Hi, I want to use DSpace 3.1 with AD (Debian 6, Tomcat 6.0.36). I have: config/modules/authentication-ldap.cfg: enable = true autoregister = true provider_url = ldap://IP:389/ id_field = cn object_context = OU=Users,OU=Name Of Organization,DC=com email_field = mail surname_field = sn

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-03-21 Thread Jonathan Freesbay
Hi, Just uncomment partial download code in org.dspace.app.xmlui.cocoon.BitstreamReader under generate(). It's disabled because some browser integrated PDF readers crash (says documentation code). Regards, 2013/2/27 Jonathan Freesbay j.frees...@gmail.com Hi Keith, Impressive! When do you

[Dspace-tech] Submission form saves only unique contributors

2013-02-28 Thread Jonathan Freesbay
Hi, Tomcat version: 6.0.35.0 Dspace version: 3.1 I would like to save movie data in dublin core. I use: -dc.contributor.director -dc.contributor.writer When the director and writer are the same, the submission wizard just saves one of them. I can later add the value back using the editor, so

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-02-26 Thread Jonathan Freesbay
think it would be better if the content-range was configurable to be enabled/disabled. --keith On Mon, Feb 25, 2013 at 4:38 AM, Jonathan Freesbay j.frees...@gmail.com wrote: Hi, I added a html 5 video tag to play the video's I uploaded to dspace. The video can be played, but I cannot

[Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-02-25 Thread Jonathan Freesbay
Hi, I added a html 5 video tag to play the video's I uploaded to dspace. The video can be played, but I cannot seek to parts which aren't downloaded. The command curl -H Range:bytes=16- -I localhost:8080 gives Accept-Ranges: bytes back, so tomcat understands content-range. Does this mean that