New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"System.MissingMethodException" when using Html.ConvertImgToSrcSet #24
Comments
Hmm, I'll take a look, thanks for reporting |
The method has totally changed - I have updated the code accordingly. If you have time the fix is available in beta4-0000222 https://www.myget.org/feed/umbraco-packages/package/nuget/Our.Umbraco.Slimsy/3.0.0-beta4-000222 I'll do some additional testing then release this as beta4 |
I installed the fix but the slimsy.dll is missing. Can't reference Slimsy with this beta4. |
Oh, that's strange, I downloaded the nupkg and it seems to be in there |
3.0.0-beta4-000228 from MyGet works now as expected. Thank you for the quick fix! |
I have released beta4 to NuGet, many thanks for reporting! |
This is on Umbraco 8.6
On my DocType
ContentPage
, I have a RichText property editor with aliasRichTextTest
. When I do this in a view:then I get a
System.MissingMethodException
. I get the exception whether there are images in the RTE or not.I can use Slimsy's other methods like
GetCropUrl
andGetSrcSetUrls
without trouble.My
Image
media type has theUpload
property set toImage Cropper
.Any idea what I am doing wrong? Is this a bug or user error?
On Our, David Peck suggested it might be related to the constructor having been removed (see here) in Umbraco. However, it could also be related to me doing something wrong which would cause the code to try and call the wrong constructor. The strange thing is, I remember using ConvertImgToSrcSet in a somewhat similar scenario and it worked back then.
Here is the complete error trace:
The text was updated successfully, but these errors were encountered: