Now I found even I restart tomcat the old metadata was still there. : -(

So how can I restart/reload to adopt the new updated matadata for the items?

Thanks,

Tao


On Thursday, June 9, 2016 at 1:56:32 PM UTC-5, helix84 wrote:
>
> Seems like you're running into this issue because you're running DSpace 
> 5.3:
>
> https://jira.duraspace.org/browse/DS-2692
>
> It is described here in comments:
>
> https://github.com/DSpace/DSpace/pull/1007
>
> The solution would be to upgrade to 5.4 (or better, to 5.5 which includes 
> a critical security fix for XMLUI).
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> On Thu, Jun 9, 2016 at 6:40 PM, Tao Zhao <tao.zh...@gmail.com 
> <javascript:>> wrote:
>
>> Just found out what happened:
>>
>> The actual metadata has been changed after the command was executed. I 
>> can see the updated metadata if I open the web page with the browser with 
>> the handle ID.
>>
>> However, if I execute the command curl 
>> https://abcd.org/rest/items/39850/metadata I still get the old metadata 
>> information.
>>
>> Anyone can help me?
>>
>> Thanks.
>>
>>
>> On Thursday, June 9, 2016 at 10:15:44 AM UTC-5, Tao Zhao wrote:
>>>
>>> curl -X PUT -H "Content-Type: application/json" -H "Accept: 
>>> application/json" -H "rest-dspace-token: 
>>> b2fcc846-64fa-42b4-a21a-040caac986db" --data '[{"key":"dwc.npdg.homestate", 
>>> "value":"OK", "language":""}]' 
>>> https://abcd.org/rest/items/39850/metadata
>>>
>>> I tried this but it did not give me any response information and either 
>>> change the metadata.
>>>
>>> Thanks a lot,
>>>
>>> Tao
>>>
>> -- 
>> 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 <javascript:>.
>> To post to this group, send email to dspac...@googlegroups.com 
>> <javascript:>.
>> 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.

Reply via email to