Try our conversational search powered by Generative AI!

TinyMce Update 4.1 => 4.2

Vote:
 

Optimizely has updated the AddSettings method on TinyMceSettings 

Now the plugin that is delivered with TinyMce 4.1 fails... in service registration, but it shouldnt should it? 

System.MissingMethodException: Method not found: 'EPiServer.Cms.TinyMce.Core.TinyMceSettings EPiServer.Cms.TinyMce.Core.TinyMceSettings.AddSetting(System.String, System.Object)'.
   at Epicweb.Optimizely.Plugin.ServiceCollectionExtension.<>c__DisplayClass0_0.<AddFrontifyPlugin>b__1(TinyMceConfiguration config)

We can see when refactoring that Opti has added a optional param in 4.2

TinyMceSettings AddSetting(string key, object value, bool registerAsEditorOption = true)

in 4.1

TinyMceSettings AddSetting(string key, object value)

How to solve this without updating the plugin package and releasing a new package in feed? Is this a breaking change? Pretty annoying, if so

#300830
Apr 27, 2023 13:42
Vote:
 

This is really annoying. We encountered the same issue with EPiServer.CMS.TinyMce v4.2.0 in combination with ImageVault.EPiServer.UI v12.19.7. Breaking changes must be handled more gracefully.

#301161
May 04, 2023 7:22
Vote:
 

The breaking change has been confirmed and bug issued as CMS-27603. However, there is currently no information available regarding when or how this issue will be resolved.

#301162
May 04, 2023 7:30
huseyinerdinc - May 04, 2023 7:49
I believe the progress can be followed here https://world.optimizely.com/support/Bug-list/bug/CMS-27684
* 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.