In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001275 [In-Portal CMS] Data Management bug report always 2012-05-15 14:09 2012-07-25 05:30
Reporter Dmitry View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001275: User can't Subscribe to Newsletter
Description Can't Subscribe to Newsletter due to code issues in u_OnSubscribeUser event:


Line 759 $this->RemoveRequiredFields($object);

Line 790 if ( $object->isRequired('Username') ) {
                        $object->SetDBField('Username', $user_email);
                }

First mentioned line ensures that 'Username' field is never set, and,
as result - subscriber-user record is not created with error "username
is too short" (as fact, it is empty, so it length is 0).
Additional Information To fix we need to check $object->isRequired('Username') before we do $this->RemoveRequiredFields($object);



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker