November Happy Hour will be moved to Thursday December 5th.

Copy image gives an error

Vote:
 

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:

/EPiServer/cms/Stores/contentstructure/
{"ids":["12483"],"targetId":"16983","createAsLocalAsset":false}

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 10.10.4.0

Kind regards
Dennis

#185747
Nov 30, 2017 16:36
Vote:
 

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

#185753
Nov 30, 2017 22:47
Vote:
 

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

#185854
Dec 05, 2017 10:22
Vote:
 

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?

#185855
Dec 05, 2017 10:31
Vote:
 

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.

#185904
Dec 06, 2017 10:31
Vote:
 

Glad to help!

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