I may be wrong, but I expected to replace a bitstream with this line:

curl -v --cookie "JSESSIONID=9EB449E3FCC173204AB14AD189911324" -T mets.xml
http://localhost:8080/rest/bitstreams/5a286ddc-f138-43ac-afca-3d0a761f5149/data

It did not happen and I got in different places the following messages:

-------------
HTTP Status 500 - Internal Server Error

-------------
127.0.0.1 - - [31/Oct/2017:22:14:38 +0200] "PUT
/rest/bitstreams/5a286ddc-f138-43ac-afca-3d0a761f5149/data HTTP/1.1" 500
1082

-------------
2017-10-31 22:14:38,463 INFO  org.dspace.rest.BitstreamResource @ Updating
bitstream(id=5a286ddc-f138-43ac-afca-3d0a761f5149) data.
2017-10-31 22:14:38,712 INFO  org.dspace.content.BitstreamServiceImpl @
e...@nomail.xx
::update_bitstream:bitstream_id=5a286ddc-f138-43ac-afca-3d0a761f5149
2017-10-31 22:14:38,728 ERROR org.dspace.rest.Resource @ Something get
wrong. Aborting context in finally statement.

Any advice is welcome.


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

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