PHP Notice in SugarWidgetField.php #7912
Labels
Priority:Moderate
Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type:Bug
Bugs within the core SuiteCRM codebase
Issue
The method
getVardef()
ininclude/generic/SugarWidgets/SugarWidgetField.php
is not checking thatcolumn_key
andreporter
are setted.Because of this, many
PHP Notice
like these are register in php log:Expected Behavior
Avoid annoying PHP Notices ;-)
Actual Behavior
A lot of PHP Notices are in the php log.
Possible Fix
We sould verify if
column_key
andreporter
are setted with something like thisSteps to Reproduce
Context
Your Environment
The text was updated successfully, but these errors were encountered: