Development

#7854 (setHelp won't error if you set help text for a non-existant widget)

You must first sign up to be able to contribute.

Ticket #7854 (new defect)

Opened 4 years ago

setHelp won't error if you set help text for a non-existant widget

Reported by: adatta02 Assigned to: fabien
Priority: minor Milestone:
Component: form Version: 1.3.0
Keywords: sfForms Cc:
Qualification: Unreviewed

Description

sfWidgetFormSchema won't throw an exception if you attempt to use setHelp to set help text for a widget that doesn't exist. This just seems counter-intuitive since any other action against a non-existent widget will error.

I only tested this on 1.3.0 but looking at the code it must be a problem for any version using the symfony forms.