NullReferenceException when ParagraphTextElementBlock element is not under the Form folder

Found in

EPiServer.Forms 4.29.0

Fixed in

EPiServer.Forms 4.30.3


Jan 13, 2021


Mar 30, 2021


Closed, Fixed and tested


Steps to reproduce:

  • Create a form that contains a Rich text element.
  • Cut that element under For This Form folder and paste it into another folder.
  • View the page that contains the form.

Expected result:
The page shows the form without any problems.

Actual result:
A NullReferenceException has been thrown.