Re: [dspace-tech] DSpace-CRIS: password authentication failed for user "dspace"

2018-04-10 Thread Pascarelli Luigi Andrea
During DSpace-CRIS build there is another place where database information are 
stored and used by application to display metrics data. Please check 
[dspace.dir]/solr/search/conf/database.properties and fill the correct database 
info. Restart tomcat as well.

Hope this helps.

Luigi Andrea

Il 10 apr 2018 10:19 PM, mmor...@ias.edu ha scritto:
Hi,

I'm receiving this error in log/dspace.log.2018-04-10 DSpace-CRIS 5.8 
installation while browsing or updating researcher profile, i made sure the 
db.password is correct in dspace.cfg and local.cfg and reset the password in 
postgres.

2018-04-10 16:12:20,948 ERROR 
org.dspace.app.webui.cris.metrics.MetricsCrisHomeProcessor @ 
x...@email.com:session_id=72D6233A8DBB8B667B27A645A12769F0:ip_addr=xx.xx.xx.xx:MetricsItemHomeProcessor:org.postgresql.util.PSQLException\colon;
 FATAL\colon; password authentication failed for user "dspace"
org.dspace.discovery.SearchServiceException: org.postgresql.util.PSQLException: 
FATAL: password authentication failed for user "dspace"
at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:2586)
at 
org.dspace.app.webui.cris.metrics.MetricsCrisHomeProcessor.process(MetricsCrisHomeProcessor.java:58)
at 
org.dspace.app.webui.cris.controller.ResearcherPageDetailsController.handleDetails(ResearcherPageDetailsController.java:232)
at 
it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: 

[dspace-tech] Send notification when embargo lifts

2018-04-10 Thread Javier Távara
Hello.
I'm using DSpace 5.5 and I want DSpace to send an email to the 
administrators when an embargoed item is released to the public.

I was thinking in storing the embargo date in metadata and read it from an 
external service using the REST API. It's an option. But do you know how 
can I achieve that just using DSpace?

I was reading the DefaultEmbargoLifter/Setter java classes but I'm afraid 
those aren't used anymore. Am I right?

- Javier.

-- 
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.


[dspace-tech] DSpace-CRIS: password authentication failed for user "dspace"

2018-04-10 Thread mmorris
Hi,

I'm receiving this error in log/dspace.log.2018-04-10 DSpace-CRIS 5.8 
installation while browsing or updating researcher profile, i made sure the 
db.password is correct in dspace.cfg and local.cfg and reset the password 
in postgres.

2018-04-10 16:12:20,948 ERROR 
org.dspace.app.webui.cris.metrics.MetricsCrisHomeProcessor @ 
x...@email.com:session_id=72D6233A8DBB8B667B27A645A12769F0:ip_addr=xx.xx.xx.xx:MetricsItemHomeProcessor:org.postgresql.util.PSQLException\colon;
 
FATAL\colon; password authentication failed for user "dspace"
org.dspace.discovery.SearchServiceException: 
org.postgresql.util.PSQLException: FATAL: password authentication failed 
for user "dspace"
at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:2586)
at 
org.dspace.app.webui.cris.metrics.MetricsCrisHomeProcessor.process(MetricsCrisHomeProcessor.java:58)
at 
org.dspace.app.webui.cris.controller.ResearcherPageDetailsController.handleDetails(ResearcherPageDetailsController.java:232)
at 
it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: 
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 
org.postgresql.util.PSQLException: FATAL: password authentication failed 
for user "dspace"
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at 

Re: [dspace-tech] NullPointerException when visualizing an item

2018-04-10 Thread Gustavo Tonini
Hello Tim,
thanks for your reply. The URL I mentioned before shows the Java stack 
trace and Java full stack trace. I'm copying it below.

java.lang.NullPointerException
at 
org.dspace.app.xmlui.aspect.browseArtifacts.Navigation.addOptions(Navigation.java:152)
at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:239)
at sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy255.startElement(Unknown Source)
at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)
at sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy255.startElement(Unknown Source)
at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)
at sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy255.startElement(Unknown Source)
at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
at 
org.apache.cocoon.components.sax.AbstractXMLByteStreamInterpreter.parse(AbstractXMLByteStreamInterpreter.java:117)
at 
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByteStreamInterpreter.java:44)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:324)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy242.process(Unknown Source)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362)
at 
org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111)
at 
org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294)
at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136)
at sun.reflect.GeneratedMethodAccessor489.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy243.generate(Unknown Source)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:326)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy242.process(Unknown Source)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362)
at 
org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111)
at 

[dspace-tech] Problem profile change password

2018-04-10 Thread Germán Biozzoli
Hi everybody

Someone has experienced

Invalid UUID string -1

Error when the user change password using the profile Editor?
It appears to happen randomly (versions 6.2 and 6.3 in demo.dspace.org also)

Is it a know bug?

Regards & thanks
German

-- 
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] Problem with search cris entity by Pointer field

2018-04-10 Thread MaX Verner
I did as you wrote. But it still does not work. What did you mean by this 
"after a complete solr search reindex you should see "author_test" field in 
your solr documents"?  
[dspace]/bin/dspace index-discovery -b ?

вторник, 10 апреля 2018 г., 17:22:31 UTC+3 пользователь Pascarelli Luigi 
Andrea написал:
>
> So, If you want create a discovery facet from the values inserted into 
> "testauthorsauthor" pointer field, the property "metadataFields" of the 
> bean into discovery.xml named searchFilterTestAuthor have to contains value 
> for "cristest.testauthors.testauthorsauthor". If metadata has values in 
> your database, after a complete solr search reindex you should see 
> "author_test" field in your solr documents and if the facet bean is well 
> configurated also into facet sidebar at explore section of "cristest" CRIS 
> entity.
>
> Hope this helps.
>
> Regards,
>
> Luigi Andrea
>
> Il 10/04/2018 11:48, MaX Verner ha scritto:
>
> Helllo, 
> yes you right.
> Thank you.
>
> понедельник, 9 апреля 2018 г., 22:34:48 UTC+3 пользователь Pascarelli 
> Luigi Andrea написал: 
>>
>> Dear MaX,
>>
>> to resume your requirements "cristest" is the shortname of the new CRIS 
>> entity, you want setup a new explore section in navbar. "testauthors" is 
>> the shortname of the nested field and "testauthorsauthor" the shortname of 
>> the pointer field (RP pointer). I can imagine that you want setup a "facet" 
>> from the value inserted in the pointer behind the nested field? It's right?
>>
>> Please, can you explain better your requirements?
>>
>> Thank you very much.
>>
>> Luigi Andrea
>>
>> Il 09/04/2018 17:27, MaX Verner ha scritto:
>>
>> Good day. 
>>
>>
>> I am created new cris entity ( dspace-CRIS 5.8), add in navbar.cris-entities 
>> and add bean crisTestConfiguration in discovery.xml. But search Pointer 
>> field not working. 
>>
>> Structure:
>> Box authors
>> - Nested field - testauthors, where Pointer field - 
>> testauthorsauthor(Researcher Pages)
>>
>> I am tried different variants 
>>
>> > class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
>>
>>
>>   
>>  cristest.authors
>>   
>>
>>
>>  and cristest.testauthorsauthor
>>
>> and cristest.authors.testauthorsauthor
>>
>>  but all not working. Search other fields work fine.
>>
>>  Someone could help? Thank you in advance.
>>
>> -- 
>> 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 
>> 
>> .
>>
>>
>> -- 
>> Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non 
>> infetto. 
>> Clicca qui per segnalarlo come spam. 
>> 
>>  
>>
>>
>> -- 
>> Luigi Andrea Pascarelli
>>
>> DSpace and DSpace-CRIS Committer
>>
>> 4Science,  www.4science.it 
>> 
>>  
>>
>> office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
>> tel: +39 333 934 1782
>> skype: l_a_p82
>> linkedin: luigiandreapascarelli
>>
>> an Itway Group Company 
>> Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates
>>
>> 
>> Save a tree. Don't print this e-mail unless it's really necessary.
>>
>> DISCLAIMER: The information contained in this message is confidential, can 
>> be legally protected by local Laws, 
>> and must be exclusively used by the recipient. The publication, use, 
>> distribution, printing or unauthorized copy 
>> of the content of this message is strictly forbidden and it can be illegal. 
>> If you received this message by mistake, 
>> please destroy it and notify it to the sender.
>>
>> -- 
>> This message has been checked by Libra ESVA and is believed to be clean.
>>
> -- 
> 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 
> 

Re: [dspace-tech] Problem with search cris entity by Pointer field

2018-04-10 Thread Pascarelli Luigi Andrea
So, If you want create a discovery facet from the values inserted into 
"testauthorsauthor" pointer field, the property "metadataFields" of the bean 
into discovery.xml named searchFilterTestAuthor have to contains value for 
"cristest.testauthors.testauthorsauthor". If metadata has values in your 
database, after a complete solr search reindex you should see "author_test" 
field in your solr documents and if the facet bean is well configurated also 
into facet sidebar at explore section of "cristest" CRIS entity.

Hope this helps.

Regards,

Luigi Andrea

Il 10/04/2018 11:48, MaX Verner ha scritto:
Helllo,
yes you right.
Thank you.

понедельник, 9 апреля 2018 г., 22:34:48 UTC+3 пользователь Pascarelli Luigi 
Andrea написал:

Dear MaX,

to resume your requirements "cristest" is the shortname of the new CRIS entity, 
you want setup a new explore section in navbar. "testauthors" is the shortname 
of the nested field and "testauthorsauthor" the shortname of the pointer field 
(RP pointer). I can imagine that you want setup a "facet" from the value 
inserted in the pointer behind the nested field? It's right?

Please, can you explain better your requirements?

Thank you very much.

Luigi Andrea

Il 09/04/2018 17:27, MaX Verner ha scritto:
Good day.


I am created new cris entity ( dspace-CRIS 5.8), add in navbar.cris-entities 
and add bean crisTestConfiguration in discovery.xml. But search Pointer field 
not working.

Structure:
Box authors
- Nested field - testauthors, where Pointer field - 
testauthorsauthor(Researcher Pages)

I am tried different variants


   
   
  
 cristest.authors
  
   





and cristest.testauthorsauthor

and cristest.authors.testauthorsauthor




but all not working. Search other fields work fine.




Someone could help? Thank you in advance.


--
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.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  
www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

--
This message has been checked by Libra ESVA and is believed to be clean.

--
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.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't 

Re: [dspace-tech] Authentication error when depositing via SWORDv2

2018-04-10 Thread Tim Donohue
Hello Hrafn,

You may want to check the log files on the DSpace server
([dspace]/log/dspace.log.[date]) to see if further information is given on
the 403 response you are seeing.

The error you are getting from the "edit-media" file may be *unrelated* to
the initial 403 response, as that error seems to be resulting from an
inability of DSpace to re-disseminate the deposited file. It specifically
states: "No plugin can disseminate the requested formats" That error only
occurs if DSpace has trouble disseminating an object -- and has nothing to
do with the deposit process.

So, my guess is that the real error behind the 403 response likely is in
the DSpace server logs (or maybe the Tomcat logs).  If you need more
information on finding the error in the logs, take a look at
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

I'd recommend sending the error stack to this mailing list once you find
it.  Hopefully it provides more information so that someone on this list
can help.

One final note, I'd recommend double checking that your "curl" command and
Python script are sending the same comment.  I'm not a Python coder myself,
but it looks to me like you've commented out the "Packaging:
http://purl.org/net/sword/package/Binary; header in your Python
script...while it is included in your "curl" script.


Tim



On Mon, Apr 9, 2018 at 10:27 AM MALMQUIST Hrafn 
wrote:

> Hello all
>
>
>
> I am getting an error response from DSpace when trying to deposit content
> via it's SWORDv2 API.
>
>
> I am using the Python SWORD client library (
> https://github.com/swordapp/python-client-sword2).
>
>
> What I find particularly confusing is the fact that when I try to deposit
> using curl, everything goes smoothly:
>
>
> curl -i --data-binary "@strategic_plan_2016.pdf" -H
> "Content-Disposition:attachment; filename=strategic_plan_2016.pdf" -H
> "Content-Type:application/pdf" -H "Packaging:
> http://purl.org/net/sword/package/Binary; -u 
> hrafn.malmqu...@ed.ac.uk:** -X
> POST
> http://test.digitalpreservation.is.ed.ac.uk/swordv2/collection/123456789/2
>
> the python script that generates the error is copy pasted below
>
> There is one caveat that the SSL certificate on the server is broken which
> might be an issue (
> https://github.com/swordapp/python-client-sword2/issues/9).
>
> However I get a 403 response when trying to deposit the files via
> the Python sword client. The edit-media file (
> http://test.digitalpreservation.is.ed.ac.uk/swordv2/edit-media/e9598d4d-ba1c-4710-95b9-000b8ce30772)
>  gives
> this error:
>
> http://purl.org/net/sword/terms/; href="
> http://purl.org/net/sword/error/ErrorContent;>
> http://www.w3.org/2005/Atom;>ERROR
> http://www.w3.org/2005/Atom;>
> 2018-04-09T10:39:20Z
> http://www.w3.org/2005/Atom; uri="
> http://www.dspace.org/ns/sword/2.0/; version="2.0">dspace-h...@myu.edu
> 
> Processing failed
> http://www.w3.org/2005/Atom;>No plugin can
> disseminate the requested formats
> 
> org.swordapp.server.SwordError: No plugin can disseminate the requested
> formats at
> org.dspace.sword2.SwordDisseminatorFactory.getContentInstance(SwordDisseminatorFactory.java:112)
> at
> org.dspace.sword2.MediaResourceManagerDSpace.getItemResource(MediaResourceManagerDSpace.java:114)
> at
> org.dspace.sword2.MediaResourceManagerDSpace.getMediaResourceRepresentation(MediaResourceManagerDSpace.java:229)
> at org.swordapp.server.MediaResourceAPI.get(MediaResourceAPI.java:82) at
> org.swordapp.server.MediaResourceAPI.get(MediaResourceAPI.java:33) at
> org.swordapp.server.servlets.MediaResourceServletDefault.doGet(MediaResourceServletDefault.java:35)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
> at 

Re: [dspace-tech] Add filter to advanced filters in JSPUI

2018-04-10 Thread Tim Donohue
Hi Rodrigo,

Search filters for DSpace are managed by the "Discovery" component. They
are all configured in the [dspace]/config/spring/api/discovery.xml
configuration file.

Documentation on adding/changing/updating search filters and facets can be
found at:
https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-Searchfilters

After modifying filters or facets, you may need to reindex your site (using
"dspace index-discovery -b"), see also this section:
https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-ConfiguringlistsofsidebarFacetsandsearchFilters


If you have further questions, or run into issues, let us know on this
mailing list.

Tim

On Mon, Apr 9, 2018 at 2:27 PM Rodrigo Sebastian Hidalgo Avila <
rodrigo.metalero...@gmail.com> wrote:

> I'm using DSpace version 5.8 and I want to add more filters for advanced
> search besides the 4 that are already in JSPUI: Title, Author, Subject and
> Date Issued.
> How do I add additional ones?
>
> --
> 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.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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] NullPointerException when visualizing an item

2018-04-10 Thread Tim Donohue
Hi Gustavo,

A NullPointerException in Java is a generic error that could have many
different causes. So, we'd need more information about where this error is
occurring. If you need help finding the error stack in your logs, please
see this guide:

https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Please be sure to post the error stack to this mailing list, and hopefully
someone on this list will be able to more easily help you.

Tim

On Mon, Apr 9, 2018 at 2:27 PM Gustavo Tonini 
wrote:

> After upgrading to DSpace 6.2, we're receiving
> java.lang.NUllPointerException when visualizing some items (example:
> https://repositorio.ufsc.br/xmlui/handle/123456789/77186). The problem
> occurs both in JSPUI and XMLUI.
>
> We had some problems with items that didn't have the "dc.date.issued"
> attribute set, but it is not this case.
>
> Is someone experiencing similar issues?
>
> --
> 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.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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] Problem with search cris entity by Pointer field

2018-04-10 Thread MaX Verner
Helllo,
yes you right.
Thank you.

понедельник, 9 апреля 2018 г., 22:34:48 UTC+3 пользователь Pascarelli Luigi 
Andrea написал:
>
> Dear MaX,
>
> to resume your requirements "cristest" is the shortname of the new CRIS 
> entity, you want setup a new explore section in navbar. "testauthors" is 
> the shortname of the nested field and "testauthorsauthor" the shortname of 
> the pointer field (RP pointer). I can imagine that you want setup a "facet" 
> from the value inserted in the pointer behind the nested field? It's right?
>
> Please, can you explain better your requirements?
>
> Thank you very much.
>
> Luigi Andrea
>
> Il 09/04/2018 17:27, MaX Verner ha scritto:
>
> Good day. 
>
>
> I am created new cris entity ( dspace-CRIS 5.8), add in navbar.cris-entities 
> and add bean crisTestConfiguration in discovery.xml. But search Pointer 
> field not working. 
>
> Structure:
> Box authors
> - Nested field - testauthors, where Pointer field - 
> testauthorsauthor(Researcher Pages)
>
> I am tried different variants 
>
>  class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
>
>
>   
>  cristest.authors
>   
>
>
>  and cristest.testauthorsauthor
>
> and cristest.authors.testauthorsauthor
>
>  but all not working. Search other fields work fine.
>
>  Someone could help? Thank you in advance.
>
> -- 
> 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 
> 
> .
>
>
> -- 
> Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non 
> infetto. 
> Clicca qui per segnalarlo come spam. 
>  
>
>
> -- 
> Luigi Andrea Pascarelli
>
> DSpace and DSpace-CRIS Committer
>
> 4Science,  www.4science.it 
>
> office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
> tel: +39 333 934 1782
> skype: l_a_p82
> linkedin: luigiandreapascarelli
>
> an Itway Group Company 
> Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates
>
> 
> Save a tree. Don't print this e-mail unless it's really necessary.
>
> DISCLAIMER: The information contained in this message is confidential, can be 
> legally protected by local Laws, 
> and must be exclusively used by the recipient. The publication, use, 
> distribution, printing or unauthorized copy 
> of the content of this message is strictly forbidden and it can be illegal. 
> If you received this message by mistake, 
> please destroy it and notify it to the sender.
>
> -- 
> This message has been checked by Libra ESVA and is believed to be clean.
>

-- 
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] Re: Add messages in Spanish to JSPUI

2018-04-10 Thread gonzalo santana
Hello everybody

Yes, sorry, i am wrong, the right directory is [dspace-source]/dspace/
modules/jspui/src/main/resources/

You don´t forget add the support to locale language in dspace.cfg

default.locale = es
webui.supported.locales = en, de, es

 Sorry again

Regards
Gonzalo

2018-04-10 13:57 GMT+01:00 Claudia Jürgen :

> Hello Rodrigo,
>
> you should not add it to
> [dspace-source]/dspace-api/src/main/resources/
> but use the overlay mechanism see
> https://wiki.duraspace.org/display/DSDOC5x/Localization+
> L10n#LocalizationL10n-Wheretoedit.1
> and place your file in
> [dspace-source]/dspace/modules/jspui/src/main/resources/
>
> As the latest translation to Spanish is 3 years old, it would be greate if
> you would contribute your 5.8 back to the community see
> https://wiki.duraspace.org/pages/viewpage.action?pageId=19006307#
> InternationalizationSupport(I18nSupport)-ContributingnewLocalizations
>
> Hope this helps
>
> Claudia jürgen
>
>
>
>
>
> Am 09.04.2018 um 20:34 schrieb Rodrigo Sebastian Hidalgo Avila:
>
> Thank you very much for the information
> It helped me a lot!
>
> El lunes, 9 de abril de 2018, 4:34:54 (UTC-4), gonzalo perl escribió:
>
> Hello Rodrigo
>
> You have to add the Messages_es.propierties file to [dspace-source]
> /dspace-api/src/main/resources/ and rebuild dspace.
>
> Regards
> Gonzalo
>
>
>
> --
> Claudia Juergen
> Eldorado
>
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
>
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32claudia.juer...@tu-dortmund.dewww.ub.tu-dortmund.de
>
>
>
>
> *Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
> ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
> diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
> und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz
> per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich,
> wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder
> durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.
> Important note: The information included in this e-mail is confidential. It
> is solely intended for the recipient. If you are not the intended recipient
> of this e-mail please contact the sender and delete this message. Thank
> you. Without prejudice of e-mail correspondence, our statements are only
> legally binding when they are made in the conventional written form (with
> personal signature) or when such documents are sent by fax. *
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/dspace-tech/e3e5TYcV4c8/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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] Re: Add messages in Spanish to JSPUI

2018-04-10 Thread Claudia Jürgen

Hello Rodrigo,

you should not add it to
[dspace-source]/dspace-api/src/main/resources/
but use the overlay mechanism see
https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n#LocalizationL10n-Wheretoedit.1
and place your file in
[dspace-source]/dspace/modules/jspui/src/main/resources/

As the latest translation to Spanish is 3 years old, it would be greate if you 
would contribute your 5.8 back to the community see
https://wiki.duraspace.org/pages/viewpage.action?pageId=19006307#InternationalizationSupport(I18nSupport)-ContributingnewLocalizations

Hope this helps

Claudia jürgen





Am 09.04.2018 um 20:34 schrieb Rodrigo Sebastian Hidalgo Avila:

Thank you very much for the information
It helped me a lot!

El lunes, 9 de abril de 2018, 4:34:54 (UTC-4), gonzalo perl escribió:



Hello Rodrigo

You have to add the Messages_es.propierties file to [dspace-source]
/dspace-api/src/main/resources/ and rebuild dspace.

Regards
Gonzalo







--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
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.


[dspace-tech] Change submit url from login form

2018-04-10 Thread gonzalo perl
Hello everybody

I would like to change the submit url from login form, because i would like 
Dspace enter to another page that it does not were myDspace. But i don´t 
found information about how could change the submit url.

Any idea?

Regards
Gonzalo

-- 
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.