After updating forms to 4.23.3, my website throws the following exception during routeCollection.MapMvcAttributeRoutes():
System.ArgumentException: 'Cannot call action method 'Void GetFormExternalResources(System.Collections.Generic.List`1[System.String] ByRef, System.Collections.Generic.List`1[System.String] ByRef)' on controller 'EPiServer.Forms.Controllers.FormContainerBlockController' because the parameter 'System.Collections.Generic.List`1[System.String]& scripts' is passed by reference.Parameter name: methodInfo'
Has anyone else encountered this, how to resolve the issue?
Which version you upgraded from ?
Method GetFormExternalResources is moved to pulblic from version 4.24.3 (protected -> public) and it still has the same parameter signature.
Do you have any custom code that calls the method ?
Originally I've updated from 4.16.0, but I then tried updating gradually and up to 4.24.2 everything was working fine.
No, to my knowledge there isn't any code that calls the method.
This should be a bug and we're working on it.
Thanks for letting us know !
Hi, how is it going with the bug, have the same issue fter upgrading
Forms 4.25.0 is now available on nuget feed and the bug has been fixed in this version.