You are not logged in.
Hi,
I find issue in newuser.eyecode in (oneyexxx/apps/eyeControl/events/newuser.eyecode).
In fact i try to add a new user (simple user) and oneye popup appear with 'the user name contains invalid characters..'.
Once again, launch web developer tools in Firefox and see:
Notice: Undefined variable: user in /srv/http/oneye/oneyexxx/apps/eyeControl/events/newuser.eyecode on line 94
Notice: Undefined variable: user in /srv/http/oneye/oneyexxx/apps/eyeControl/events/newuser.eyecode on line 117
I check code and view:
Line 94:
if ($username && $password && $pwd_again && um('isValidUsername', array($user)) === true && !um('userExist',array($username)) && $password === $pwd_again && utf8_strlen($username) > 2 && utf8_strlen($username) <= MAX_USERNAME_LEN) {
Line 117:
} elseif (um('isValidUsername', array($user)) === false) {
I modified $user in $username for fixed issues
Last edited by lars-sh (2012-06-13 17:44:56)
Offline
Thank you for reporting this bug.
Lars recently added a function to the um service to check whether a username is valid or not. This replaced multiple copies of needlessly repeated code that did the same thing. Evidently, something went awry in the process of Lars transferring the improvement into his working copy of the repository.
The fix has been committed to the repository (r.7571)
Offline
Thanks both.
I just updated my working copy and went into conflicts at those two places. Seems as if it's a SVN problem while committing. Ugly.
Best regards,
Lars Knickrehm
The oneye project.
Offline