sergiogonzalez/liferay-portal — pull request #310 by KocsisDaniel (2012-07-24 09:48:23+00:00)
Title: [TECH SUPPORT] LPS-28494

Hi Sergio,

this pr is to fix the "numeric screen name" users.screen.name.allow.numeric=false check. The current solution is replacing every digit in the name to a period which is not the right solution. The fix interpret the numeric screen name as a string that contains only digits. The chosen technic to resolve these names is to add a prefix, because in this way the original string remains recognizable. Daniel moved the check from its original place after the if statement, because the String.valueOf(userId) can produce only numbers and his opinion is the screen name should be always valid not just when the user has email address. I am not sure this prefix is right, so please let me know your opinion!

Thanks,
Daniel