Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

EPi form AutofillService instantiation error

$
0
0

I upgraded epi form from 3.0 to 4.4. Now when I edit a form which contains a Textbox element, an exception about AutofillService is thrown:

Method not found: 'System.Collections.Generic.IEnumerable`1<System.String> EPiServer.Forms.Core.Internal.Autofill.AutofillService.GetSuggestedValues(EPiServer.Forms.Core.Internal.ExternalSystem.IDatasource, System.Collections.Generic.IEnumerable`1<EPiServer.Forms.Core.Internal.ExternalSystem.RemoteFieldInfo>)'.
at EPiServer.Forms.Implementation.Elements.BaseClasses.DataElementBlockBase.GetAutofillValues() at EPiServer.Forms.Implementation.Elements.BaseClasses.DataElementBlockBase.GetDefaultValue() at ASP.sec_ui_episerver_forms_views_elementblocks_textboxelementblock_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in http://server/sec/UI/EPiServer.Forms/Views/ElementBlocks/TextboxElementBlock.ascx:line 16 at

And ServiceLocator.Current.GetInstance<EPiServer.Forms.Core.Internal.Autofill.AutofillService>() will return an object without any method if I watch it in TextboxElementBlock.ascx.

In form 3.0 this didn't happen. 

Any help is greatly appreciated.


Viewing all articles
Browse latest Browse all 9076

Trending Articles