When a user tries to create an inline form container block, there is an NRE thrown.
This is becuase the EPiServer.Forms.Controllers.FormContainerBlockControllerInvokeComponent method tries to access currentBlock.Content.ContentGuid, where Content is null when the block is created inline.
I've minimally recreated the error in an Alloy solution on the latest versions of Forms (6.0.2) and CMS 13 (13.3.0). Screenshot attached below of the content area (the default content area on the alloy homepage) and the error being caught in the decompiled Forms DLL.
Has anyone else seen this issue, and has a workaround/fix? Should we just disable inline blocks entirely if using Forms?
Hi there,
We have a site on CMS 13.2.0 and Forms 6.0.1.
When a user tries to create an inline form container block, there is an NRE thrown.
This is becuase the
EPiServer.Forms.Controllers.FormContainerBlockControllerInvokeComponentmethod tries to accesscurrentBlock.Content.ContentGuid, where Content is null when the block is created inline.I've minimally recreated the error in an Alloy solution on the latest versions of Forms (6.0.2) and CMS 13 (13.3.0). Screenshot attached below of the content area (the default content area on the alloy homepage) and the error being caught in the decompiled Forms DLL.
Has anyone else seen this issue, and has a workaround/fix? Should we just disable inline blocks entirely if using Forms?