Try our conversational search powered by Generative AI!

Copy image gives an error


Hi Episerver

When richt clicking on an image in a media folder and selecting Copy, and then right clicking on another folder and selecting Paste, we get an error in Episerver.

In the browser console I can see that this call fails:


Gives this error:

{}&&{"message":null,"statusCode":200,"extraInformation":{"12483":{"message":"Failed to copy page 'biobased-pyramide.jpg' to 'Groendaken'.:Exception: Object reference not set to an instance of an object.","statusCode":403,"extraInformation":null}}}

Is this something you ca reproduce?

We are using Episerver CMS version

Kind regards

Nov 30, 2017 16:36

what if you enable more detailed level logging on the server side and inspect stacktrace?

Nov 30, 2017 22:47

This is an error in Episerver, so I don't know how I can get more detailed debug information.

Dec 05, 2017 10:22

Usually in cases like this I have had it has always been that there is a custom handling of for example a createdcontent or simular event where this error happens.

Do you have any event listeners like that?

Dec 05, 2017 10:31

Ahhhh... There is indeed some event listener like that. I will dig into it and hopefully that's just a bug in some of our own code. Thank you for the hint! Much appreciated Henrik.

Dec 06, 2017 10:31

Glad to help!

Dec 06, 2017 10:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.