Hi Tim,

I am having the same error in my DSpace 7 instance here. I have no problem 
uploading files during the submission (thanks to the drag and drop feature) 
and this only occurs when adding a new bitstream to an archived item. I 
tried uploading a new bitstream in an archived item 
in https://demo7.dspace.org and this error also occurs. I am logged in 
as Demo Site Administrator when I did this by the way.

Hoping for a solution for this and I hope it will get resolved soon.

Thanks in advance,
euler
On Thursday, September 16, 2021 at 12:44:23 AM UTC+8 Tim Donohue wrote:

> Hi Juan,
>
> Please also check to see if the REST API is throwing an error response 
> back to you when you attempt an upload.  These will appear in the "Network" 
> tab of your browser's DevTools.  Usually these are also logged on the 
> backend, but it's possible there's an error that occurs so early on in the 
> process that it doesn't get logged.
>
> Here's a guide for finding errors in DSpace 7 in general: 
>
> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>
> If you are able to locate a more specific error, send it along to the 
> list.  The current error you sent is very generic and basically says 
> "something went wrong"...so, we'd need you to try and track down a more 
> specific error, in order to help out.
>
> Tim
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf 
> of Juan López <[email protected]>
> *Sent:* Wednesday, September 15, 2021 10:43 AM
> *To:* DSpace Technical Support <[email protected]>
> *Subject:* [dspace-tech] Dspace 7 new bitstream on item error 
>  
> Hi! 
>
> I'm trying to upload a new bitstream to an item but I get just a blank 
> page (SC1).
>
> This is what the console shows:
>
> core.js:4442 ERROR TypeError: You provided 'undefined' where a stream was 
> expected. You can provide an Observable, Promise, Array, or Iterable.
>     at subscribeTo (subscribeTo.js:27)
>     at innerSubscribe (innerSubscribe.js:69)
>     at SwitchMapSubscriber._innerSub (switchMap.js:44)
>     at SwitchMapSubscriber._next (switchMap.js:34)
>     at SwitchMapSubscriber.next (Subscriber.js:49)
>     at MapSubscriber._next (map.js:35)
>     at MapSubscriber.next (Subscriber.js:49)
>     at BehaviorSubject._subscribe (BehaviorSubject.js:14)
>     at BehaviorSubject._trySubscribe (Observable.js:42)
>     at BehaviorSubject._trySubscribe (Subject.js:81)
>
> And my dspace.log doesn't show any error:
>
> 2021-09-15 10:37:33,531 INFO  feeb011f-4709-43b6-bf8d-f15fa0dbdd9d 
> 93074dcc-80e8-4efd-98d3-bf3ac18bc7d0 
> org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request 
> [GET 
> /server/api/core/bundles/bfa0dcef-03c9-4ca0-8db5-3addaed5ab9e/primaryBitstream]
>  
> originated from /items/c4dc44db-a86c-4a67-b33f-f397dc03285d/bitstreams/new
>
>
> What could be happening?, hope you guys can help me with this one.
>
> Thanks in advance.
>
> Juan
>
> -- 
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> --- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/325dc460-1831-4204-8ce1-59e7b432ead6n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/325dc460-1831-4204-8ce1-59e7b432ead6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/a591dff1-e974-42e6-a810-5c9376e53ed0n%40googlegroups.com.

Reply via email to