[Xerte] Username Field Too Short

RonM ronm at mitchellmedia.co.uk
Wed Jun 3 15:29:35 BST 2009


Actually I'm correcting this before my previous message even reaches the
list L ...

 

I just checked the database and the username field seems to be char(255) so
the moodle integration shouldn't be affected at all. I guess the reference
below is to form field restrictions which don't apply when the moodle
integration is enabled.

 

From: RonM [mailto:ronm at mitchellmedia.co.uk] 
Sent: 03 June 2009 15:22
To: 'Xerte discussion list'
Subject: RE: [Xerte] Username Field Too Short

 

That's a good point. The moodle integration may fall foul of this in some
cases too e.g. some accounts may have their email address as their username
and in some case that can be even longer than 50 chars.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Jeremy Hopkins
Sent: 03 June 2009 15:10
To: Xerte discussion list
Subject: RE: [Xerte] Username Field Too Short

 

The size of the field is 20, so I would suggest matching the max length to
at least that.

The user in question had a username formatted "firstname.lastname", I am not
sure how common that is, but it is conceivable that would go over 20
characters in some instances.

I would be inclined to dump the max length parameter all together unless
there is a good reason for having it, or increase it to a level you know
will not cause a problem, 50 chars for example.

 

Jeremy

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 03 June 2009 14:19
To: Xerte discussion list
Subject: RE: [Xerte] Username Field Too Short

 

Yes, or course, thanks. What do you suggest the limit shout be?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Jeremy Hopkins
Sent: Wednesday, June 03, 2009 1:57 PM
To: Xerte discussion list
Subject: [Xerte] Username Field Too Short

 

Hello, 

 

I just modified the username field in Xerte after one of our users could not
log in as his username was over the maximum permitted length.

Strangely the max length was shorter than the display width of the field, I
am not sure if there was a reason for doing this?

If not, perhaps the distributed version of Xerte could be updated with this
change?

 

Thanks, Jeremy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090603/d93c2dcb/attachment.html


More information about the Xerte mailing list