Exception when social media image property has a deleted image
Hi,
I just hit a problem when I deleted an image from the Media library that was configured in a property associated (through Document Type settings) with the Social Media image:
I was obviously able to resolve this by updating the property with a replacement image, but would be good to have this logged instead of throwing the exception...
Don't know if this could be handled by my Nexu package. This keeps track of internal links in Umbraco and warns users when they want to delete/unpublish something that is in use.
Yes, been meaning to get that package in there - the property is just a standard Image Picker so shouldn't need a parser; but internally SEOChecker does something with it that causes an exception if the image has been deleted.
Exception when social media image property has a deleted image
Hi, I just hit a problem when I deleted an image from the Media library that was configured in a property associated (through Document Type settings) with the Social Media image:
I was obviously able to resolve this by updating the property with a replacement image, but would be good to have this logged instead of throwing the exception...
actually, I had to restore the image, then replace it in the Image picker, save and publish, and then I could delete the original.
Hi Robert,
Don't know if this could be handled by my Nexu package. This keeps track of internal links in Umbraco and warns users when they want to delete/unpublish something that is in use.
https://our.umbraco.com/packages/backoffice-extensions/nexu/
I don't know the specifics on how this managed, but it could be that your (or Richard) need to write a parser for the property type.
You can find docs about that here : https://github.com/dawoe/umbraco-nexu/blob/develop/docs/extending.md
Dave
Hey Dave,
Yes, been meaning to get that package in there - the property is just a standard Image Picker so shouldn't need a parser; but internally SEOChecker does something with it that causes an exception if the image has been deleted.
Hi Robert,
Thanks for reporting. Will be fixed in next release.
Best,
Richard
Hi Robert,
Just fixed this issue. The fix will be in v2.1.1.. Thanks for reporting.
Best,
Richard
is working on a reply...