In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1363 [In-Portal CMS] Data Management bug report always 2012-07-22 07:27 2012-10-09 11:05
alex  
alex  
normal  
resolved 5.2.0-B1  
fixed  
 
none 5.2.1-B1  
https://groups.google.com/d/topic/in-portal-dev/_zXDBTcrRiw/discussion
Fixes user selector problem with missing Username field problem
1
0001363: User selector not working
1. Make registration by e-mail default option for new In-Portal installation (set RegistrationUsernameRequired system setting to 0 by default).

2. Since e-mail field is required all the time, then use it in user selector, but when not available fallback to Username field.

3. Since we store UserID in database, then no upgrade script is required.
child of 0000964closed  (5.2.0)alex Improvements to user Login field 
patch user_selector_missing_username_core_fix.patch (24,597) 2012-10-09 10:38
http://tracker.in-portal.org/file_download.php?file_id=1817&type=bug
patch user_selector_missing_username_modules_fix.patch (32,860) 2012-10-09 10:38
http://tracker.in-portal.org/file_download.php?file_id=1818&type=bug
Issue History
2012-10-09 11:05 alex Note Added: 0005209
2012-10-09 11:05 alex Status reviewed and tested => resolved
2012-10-09 11:05 alex Fixed in Version => 5.2.1-B1
2012-10-09 11:05 alex Resolution open => fixed
2012-10-09 11:05 alex Assigned To !COMMUNITY => alex
2012-10-09 11:05 alex Changeset attached 5.2.x r15563
2012-10-09 11:04 alex Changeset attached 5.2.x r15562
2012-10-09 11:04 alex Changeset attached 5.2.x r15561
2012-10-09 11:04 alex Changeset attached 5.2.x r15560
2012-10-09 11:04 alex Changeset attached 5.2.x r15559
2012-10-09 11:03 alex Note Added: 0005208
2012-10-09 11:03 alex Status needs testing => reviewed and tested
2012-10-09 11:03 alex Assigned To => !COMMUNITY
2012-10-09 11:03 alex Developer => alex
2012-10-09 11:03 alex Status active => needs testing
2012-10-09 10:38 alex File Added: user_selector_missing_username_modules_fix.patch
2012-10-09 10:38 alex File Added: user_selector_missing_username_core_fix.patch
2012-10-09 10:32 alex Note Added: 0005207
2012-07-25 05:39 alex Target Version 5.2.0 => 5.2.1
2012-07-22 07:27 alex Relationship added child of 0000964
2012-07-22 07:27 alex New Issue
2012-07-22 07:27 alex Reference => https://groups.google.com/d/topic/in-portal-dev/_zXDBTcrRiw/discussion
2012-07-22 07:27 alex Change Log Message => Fixes user selector problem with missing Username field problem
2012-07-22 07:27 alex Estimate Points => 1

Notes
(0005207)
alex   
2012-10-09 10:32   
Database query mask, that is used in 'left_sql' option by kLEFTFormatter class has changed from:

SELECT %s FROM TableName WHERE `%s` = '%s'

to:

SELECT %s FROM TableName WHERE %s
(0005208)
alex   
2012-10-09 11:03   
Will test all together later.
(0005209)
alex   
2012-10-09 11:05   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001363: User selector not working