contao/test — Issue #9: ModuleRegistration: Check for unique fields
Author: aschempp
Created: 2011-11-28 16:01:06+00:00
State: open
Labels: Defect, Invalid, registration

http://dev.typolight.org/browser/trunk/system/modules/registration/ModuleRegistration.php#L173

the check for "uniqueness" is done against the DCA. In ModulePersonalData it is done against the $arrData array, which is copied from DCA.

I've noticed this because I use a custom registration module, and set "unique" inside the module for the e-mail field.

I'd suggest use the same method ($arrData preferred) in both modules.

--- _Originally created on August 25th, 2008, at 10:14am (ID 9)_