Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0.8-core, 1.2.8-core
-
None
-
None
Description
The CoreRenderingContext.getFormData() contains an invalid assert that often triggers when asserts are turned on. The invalid assert checks to see if formData is null. I did a check for all code referencing getFormData and they all seem to handle a null value being returned, therefore, this assert is invalid because a null formData seems to be part of the normal execution of this method. Furthermore, the comment on CoreRenderingContext.getFormData() says that the method will create a new formData if one is not present. This does not agree with either the usage OR the assert.
Therefore we need to switch this method so that it works with the current usage of the class.