Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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:
SEOChecker.Core.Helpers.MediaInfoHelper.(IPublishedContent ) +42
SEOChecker.Core.Helpers.MediaInfoHelper.GetByUdi(String mediaUdiString) +146
SEOChecker.Core.Extensions.UmbracoDocumentExtensions.(String ) +94
SEOChecker.Core.Extensions.UmbracoDocumentExtensions.GetDefaultImagePropertyValue(IUmbracoDocument doc) +357
SEOChecker.Core.Extensions.UmbracoDocumentExtensions.GetSocialImage(IUmbracoDocument doc, MediaInfo imageInfo, String mappedSocialImagePropertyAlias, String socialNetwork) +49
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.
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.
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
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.
Thanks for reporting. Will be fixed in next release.
Just fixed this issue. The fix will be in v2.1.1.. Thanks for reporting.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted