NullReferenceException when ParagraphTextElementBlock element is not under the Form folder

Found in

EPiServer.Forms 4.29.0

Fixed in

EPiServer.Forms 4.30.3

(Or a related package)

Created

Jan 13, 2021

Updated

Mar 30, 2021

State

Closed, Fixed and tested


Description

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.