[Xerte] Username Field Too Short

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Wed Jun 3 15:30:36 BST 2009


<spinal tap>

The username field in the table goes all the way to 255 characters, so
that's your limit for moodle.

</spinal tap>

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
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/18c056f1/attachment.html


More information about the Xerte mailing list