Anonymous | Login | Signup for a new account | 2023-05-31 04:38 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
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 | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.2.0-RC1 | ||
Status | closed | Product Version | 5.2.0-B1 | Target Version | 5.2.0 | ||
Time Estimate | No estimate | ||||||
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); | ||||||
Tags | No tags attached. | ||||||
Reference | https://groups.google.com/d/topic/in-portal-bugs/QV-1VDJp11U/discussion | ||||||
Change Log Message | Fixed user can't subscribe to newsletter | ||||||
Estimate Points | 0 | ||||||
Attached Files |
![]() ![]() |
||||||
|
![]() |
||||||
|
![]() |
|
![]() alex (manager) 2012-05-29 08:57 |
Tested, but small issue with "@" symbol present in Username field was happening and it was fixed in uploaded patch (v2). |
![]() alex (manager) 2012-05-29 08:58 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001275: User can't Subscribe to Newsletter Commit on behalf of Dmitry |
![]() alex (manager) 2012-07-25 05:30 |
Since 5.2.0/1.2.0 versions was released. |
![]() |
|||
In-Portal CMS: 5.2.x r15370 Timestamp: 2012-05-29 08:58:24 Author: alex [ Details ] [ Diff ] |
Fixes 0001275: User can't Subscribe to Newsletter Commit on behalf of Dmitry |
||
mod - /in-portal/branches/5.2.x/core/units/users/users_event_handler.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-25 05:30 | alex | Note Added: 0004881 | |
2012-07-25 05:30 | alex | Status | resolved => closed |
2012-05-29 08:58 | alex | Changeset attached | 5.2.x r15370 |
2012-05-29 08:58 | alex | Note Added: 0004683 | |
2012-05-29 08:58 | alex | Status | reviewed and tested => resolved |
2012-05-29 08:58 | alex | Fixed in Version | => 5.2.0-RC1 |
2012-05-29 08:58 | alex | Resolution | open => fixed |
2012-05-29 08:58 | alex | Assigned To | !COMMUNITY => alex |
2012-05-29 08:57 | alex | File Added: User-cant-Subscribe-to-Newsletter_v2.patch | |
2012-05-29 08:57 | alex | Note Added: 0004682 | |
2012-05-29 08:57 | alex | Status | needs testing => reviewed and tested |
2012-05-16 08:36 | Dmitry | Assigned To | => !COMMUNITY |
2012-05-16 08:36 | Dmitry | Developer | => Dmitry |
2012-05-16 08:36 | Dmitry | Status | active => needs testing |
2012-05-15 14:12 | Dmitry | Summary | User can't Subscribe to a Newsletter => User can't Subscribe to Newsletter |
2012-05-15 14:12 | Dmitry | Relationship added | parent of 0001107 |
2012-05-15 14:09 | Dmitry | New Issue | |
2012-05-15 14:09 | Dmitry | File Added: User-cant-Subscribe-to-Newsletter.patch | |
2012-05-15 14:09 | Dmitry | Reference | => https://groups.google.com/d/topic/in-portal-bugs/QV-1VDJp11U/discussion |
2012-05-15 14:09 | Dmitry | Change Log Message | => Fixed user can't subscribe to newsletter |
2012-05-15 14:09 | Dmitry | Estimate Points | => 0 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |