[dspace-tech] Embargo via Metadata
Hi everybody. I have an issue when i implemented: Setting Embargo terms via metadata . The issues appears when the submission step ends (Accept license) and previously i put liftdate ( embargo.field.lift = dc.embargo.liftdate) : - In JSPUI: show Internal Server Error, but the submission task is completed (I see the item in the collection with embargo in metadatos and bitstreams). - In XMLUI: show Internal Server Error but the submission does not complete. This option is using the DefaultEmbargoSetter. The print error stack is : Java stacktrace: java.lang.NullPointerException at org.dspace.embargo.DefaultEmbargoSetter.setEmbargo(DefaultEmbargoSetter.java:97) at org.dspace.embargo.EmbargoServiceImpl.setEmbargo(EmbargoServiceImpl.java:103) at org.dspace.content.InstallItemServiceImpl.finishItem(InstallItemServiceImpl.java:236) at org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:80) at org.dspace.content.InstallItemServiceImpl.installItem(InstallItemServiceImpl.java:56) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.archive(BasicWorkflowServiceImpl.java:790) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.doState(BasicWorkflowServiceImpl.java:530) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.advance(BasicWorkflowServiceImpl.java:412) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.pool(BasicWorkflowServiceImpl.java:732) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.doState(BasicWorkflowServiceImpl.java:517) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.advance(BasicWorkflowServiceImpl.java:397) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.pool(BasicWorkflowServiceImpl.java:732) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.doState(BasicWorkflowServiceImpl.java:510) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.advance(BasicWorkflowServiceImpl.java:379) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.pool(BasicWorkflowServiceImpl.java:732) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.doState(BasicWorkflowServiceImpl.java:503) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.advance(BasicWorkflowServiceImpl.java:361) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.advance(BasicWorkflowServiceImpl.java:333) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.start(BasicWorkflowServiceImpl.java:257) at org.dspace.workflowbasic.BasicWorkflowServiceImpl.start(BasicWorkflowServiceImpl.java:58) at org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160) at org.mozilla.javascript.Context.call(Context.java:538) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803) at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:698) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:94) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81) at
[dspace-tech] Connection refused msg when attempting to reset password for another user.
Does anyone know why? :) Connection refused (Connection refused) Go to DSpace home Please contact the site administrator if you wish to report this error. If possible, please provide details about what you were doing at the time this error occurred. Contact site administrator || Show underlying error stack Java stacktrace: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:211) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654) at javax.mail.Service.connect(Service.java:274) at javax.mail.Service.connect(Service.java:91) at javax.mail.Service.connect(Service.java:76) at javax.mail.Transport.send(Transport.java:94) at javax.mail.Transport.send(Transport.java:48) at org.dspace.core.Email.send(Email.java:360) at org.dspace.eperson.AccountServiceImpl.sendEmail(AccountServiceImpl.java:265) at org.dspace.eperson.AccountServiceImpl.sendInfo(AccountServiceImpl.java:225) at org.dspace.eperson.AccountServiceImpl.sendForgotPasswordInfo(AccountServiceImpl.java:91) at org.dspace.app.xmlui.aspect.administrative.FlowEPersonUtils.processResetPassword(FlowEPersonUtils.java:248) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160) at org.mozilla.javascript.Context.call(Context.java:538) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803) at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:698) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:94) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186) at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87) at
[dspace-tech] Item does not show up in discovery & strange behavior in browse
Hi, We are using DSPace 6.3, XMLUI (modified Mirage2 theme). We have an issue with the discovery search. The first is that we have an item https://hdl.handle.net/1813/43943 (Title: Spotted Lanternfly) that (for some reason) does not appear when one is searching. I did an index-discovery -b to re-index everything, but that didn't help. I, also, noted an odd action when I am browsing. If I go to Title Browse, Click on the letter "S" and then in the "or enter first few characters" box I enter "Sp" or some other combination of characters, I am immediately sent to Browse by Issue Date. I haven't seen anything in the log files, and I wonder if anyone has any suggestions for me to fix this. -- *** George Kozak Digital Library Specialist Cornell University Library - IT 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 g...@cornell.edu -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
Re: [dspace-tech] Policies for Collection
Thanks for your answer. My concern is about new items. So I need to add policies to all the collections (not to items). 'Advanced Policy Manager' is for previous items. For example, if a user adds an item to the collection, it would get those policies. Moreover, what if a user creates a new collection. As a whole, I wanna set some policies to all items (previous items and future items). Thanks. On Tuesday, November 13, 2018 at 10:49:41 AM UTC+3:30, Paul Münch wrote: > > Hello, > > per default you can not address all communities or collection at once. In > XMLUI it is possible as system administrator to use the 'Advanced Policy > Manager' ( 'Access Control' -> 'Authorizations' -> 'Advanced authorizations > tools'). With this tool you can grant or restrict rights on items from > selected collections. > > If this is not enough, maybe a own implemented Curation Task ( > https://wiki.duraspace.org/display/DSDOC6x/Curation+System) could be a > helpful. > > Kind regards, > > Paul Münch > > Am 12.11.18 um 13:16 schrieb reza shams: > > Hi > I faced a problem. I could add policies for a collection. but is > there any solution to add policies to all collections? > moreover, how should I restrict access to bitstream in all communities > rather than collections? > > Thanks in advance. > -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dspace-tech...@googlegroups.com . > To post to this group, send email to dspac...@googlegroups.com > . > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > > > -- > Philipps-Universität Marburg | UB > Digitale Dienste | Deutschhausstraße 9 | D018 > Tel. +49 06421 28-24624 > -- > > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.