CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #39559

Label fields that were mandatory text fields before disturb serverside validation process

Added by Philipp Kitzberger 10 months ago. Updated 6 months ago.

Status:Accepted Start date:2012-08-06
Priority:Should have Due date:
Assignee:Nicole Cordes % Done:

0%

Category:Frontend Plugin
Target version:1.7.0 (Fork)
Votes: 0

Description

Fields of type 'label' or 'html' that were mandatory text fields before disturb the validation process on the server.

in pi1/class.tx_powermail_mandatory.php starting on line 127 in function mandatoryCheck() all fields are being checked on the fact whether they've got a required-flag. even if the field itself doesn't provide that flag at all.

funny side effect: when the very same field is marked as "include in email" the creation of the hidden field helps to pass the validation, since then data for this field will be transmitted to the server ;-)

oh, going forth and back let's the "include in email" data grow ... as we had in issue #37992. i guess nicole knows how to deal with that...

thanks for maintaining 1.7 !


Related issues

duplicated by powermail - Bug #43013: Fieldtype "Show text" and mandatory field Accepted 2012-11-16

History

Updated by Nicole Cordes 6 months ago

  • Category set to Frontend Plugin
  • Status changed from New to Accepted
  • Target version changed from 1.7.x to 1.7.0 (Fork)

Also available in: Atom PDF