Important: Rejected forms show their messages
Description
A form of the profile editor that is rejected, for example for a required
field left empty or an invalid e-mail address, is shown again with the values
that were entered.
Until now it showed no message at the rejected field. Above the form it showed
only the path of the property,
email, and above the
page a debug output of the translation key.
Each rejected field now shows a translated message, and a note above the form says that it could not be saved. Which label a message is taken from is listed in Messages of a rejected form.
Impact
A site that overrides one of these templates or partials receives the change only after updating its copy:
Partials/lists only the errors of the form object itself, the messages of the fields are rendered byProfile/ Forms/ Errors. html Partials/through the newProfile/ Forms/ Field Wrapper. html Partials/.Profile/ Forms/ Error Message. html - The templates of the six forms pass the name of their form object to
Partials/as a string, for exampleProfile/ Forms/ Errors. html {object: 'email.Address Form Data'}
A label override keyed
form.<field>. was never shown and
has no effect. Use
<form instead, for
example
email.
Affected Installations
Installations that use the profile editing plugin, and in particular those that override its form templates or partials, or that override the validation messages.