[dspace-tech] Dspace 6.3 [OAI - adding xml:lang attribute]

2021-03-26 Thread vladd

Hello,

We are using DSpace 6.3 and we were asked to add xml:lang to our OAI 
response.

Example:

SomeTitle
SomeOtherTitle

to: 

SomeTitle
SomeOtherTitle

I've never look out about this, but I was sure that if we are chosing the 
language of the metadata field it would just appear, then I saw that these 
language fields only appear in XOAI format.

So is there a way to add this to OAI_DC ?

-- 
All messages to this mailing list should adhere to the 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1d8fddb3-d962-4583-85fa-472214188bb5n%40googlegroups.com.


[dspace-tech] OAI Multilanguage fields

2021-03-23 Thread vladd
Hello,

I Am using Dspace 6.3 and I need to specify the fields of OAI output by 
xml:lang attribute, is there a way to do it ?

Vladimm

-- 
All messages to this mailing list should adhere to the 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7b76eaaa-adc5-470c-bbd1-ef0081cd4c6dn%40googlegroups.com.


[dspace-tech] OAI Dspace 6.3 Add/Edit Metadata fields, crash OAI import

2019-04-09 Thread vladd
Hello,

I've been trying to add metadatafields to OAI following these steps: 
https://wiki.duraspace.org/display/DSDOC6x/OAI+2.0+Server#OAI2.0Server-Add/RemoveMetadataFields


After some work, restarted the tomcat8 and the error occurs on 
"[dspace]/bin/dspace oai import -co" 
/dspace/bin/dspace oai import
OAI 2.0 manager action started
There are no indexed documents, using full import.
Full import
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 
ERROR: [doc=11320/305] unknown field 'item.willChangeStatus'
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 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227)
at org.dspace.xoai.app.XOAI.index(XOAI.java:143)
at org.dspace.xoai.app.XOAI.main(XOAI.java:560)
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.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)



Any solutions?
I bring back configuration to backup, but it still show these error.

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


[dspace-tech] Dspace 6.3 after adding Metadata Fields to OAI, import crashes.

2019-04-09 Thread vladd
Hello, 

I've been trying to add/modify metadatafields in OAI.
I've been following steps like here : 
https://wiki.duraspace.org/display/DSDOC6x/OAI+2.0+Server#OAI2.0Server-Add/RemoveMetadataFields

After those tips, I made /dspace/bin/dspace oai import -co.
And ended with this error:

user@server# /dspace/bin/dspace oai import
>
> OAI 2.0 manager action started
>
> There are no indexed documents, using full import.
>
> Full import
>
> org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 
>> ERROR: [doc=11320/305] unknown field 'item.willChangeStatus'
>
> 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 
>> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
>
> at 
>> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124)
>
> at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
>
> at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
>
> at org.dspace.xoai.app.XOAI.index(XOAI.java:280)
>
> at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:227)
>
> at org.dspace.xoai.app.XOAI.index(XOAI.java:143)
>
> at org.dspace.xoai.app.XOAI.main(XOAI.java:560)
>
> 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.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
>
> at 
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
>
>
>
Then i just thoughtI made a mistake with something, and loaded backup 
configuration.
Nothing have been changed its still giving the error.

I have been restarting tomcat8 after the changes have been made.

Any solutiions?

 

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