Space in username/username changes

Bug reports for the Trial System

Space in username/username changes

Postby bluewave41 » Mon Dec 12, 2016 7:08 pm

What happened here: http://www.blankmediagames.com/Trial/vi ... ?id=496129

2. Ayden Lyons (harambe)

You can't have spaces in your username how did he get away with that? This also causes focusing and the highlighter to not function.
Last edited by bluewave41 on Tue Dec 13, 2016 9:37 pm, edited 1 time in total.
User avatar
bluewave41
Halloween 2017 Winner
Halloween 2017 Winner
 
Posts: 1139
Joined: Wed Mar 18, 2015 11:37 am

Re: Space in username

Postby LevinSnakesRise » Mon Dec 12, 2016 7:20 pm

Used to be able to. Look at Sarah Thorpe - memberlist.php?mode=viewprofile&u=878
Please contact BMG with any questions regarding your account issues;
support@blankmediagames.zendesk.com

Thanks.
User avatar
LevinSnakesRise
Site Admin
Site Admin
 
Posts: 16789
Joined: Thu Aug 07, 2014 9:45 pm
Location: USA

Re: Space in username

Postby bluewave41 » Mon Dec 12, 2016 7:22 pm

Naru2008 wrote:Used to be able to. Look at Sarah Thorpe - memberlist.php?mode=viewprofile&u=878


Good point. The Trial System doesn't handle them correctly then (neither does my script since I assumed you couldn't have spaces in your name >.>)

It looks like on viewReport pages that line is filled using
Code: Select all
$('.reportedPlayer').html($('#Ayden Lyons').next().html());


Quick fix there could be to change it to
Code: Select all
$('.reportedPlayer').html($("[for='Ayden Lyons']").html());


Notice the next is removed since it selects the label instead of the input.

Same thing should be possible with main.js

Code: Select all
$('.reportedPlayer').html($('#'+reportName).next().html());


Could be changed to

Code: Select all
$('.reportedPlayer').html($('[for="'+reportName+'"]').html());
Last edited by bluewave41 on Mon Dec 12, 2016 9:47 pm, edited 3 times in total.
User avatar
bluewave41
Halloween 2017 Winner
Halloween 2017 Winner
 
Posts: 1139
Joined: Wed Mar 18, 2015 11:37 am

Re: Space in username

Postby LevinSnakesRise » Mon Dec 12, 2016 7:24 pm

Yeah, added to Master List.
Please contact BMG with any questions regarding your account issues;
support@blankmediagames.zendesk.com

Thanks.
User avatar
LevinSnakesRise
Site Admin
Site Admin
 
Posts: 16789
Joined: Thu Aug 07, 2014 9:45 pm
Location: USA

Re: Space in username

Postby bluewave41 » Tue Dec 13, 2016 9:45 pm

Naru2008 wrote:Yeah, added to Master List.


I broke it again :( (sorry)

Checking to see if certain reports where valid for AFK I came upon: http://www.blankmediagames.com/Trial/vi ... p?id=10084

Every report before Report406556 uses what I can only assume is the players old username of "JamesLehman" since the name he uses in multiple prior games is "Tiggs"

Report406556 on wards use what looks like their new username "Tiggachu".

All the old reports though use the current username which doesn't exist in the older reports causing the highlighter and focusing to fail.

Also, #5 Skipping can lead to you being given the same reports, even after it adds each report you click 'Skip' on to your 'exclude from session' list in the background. on the master bug list has been fixed
User avatar
bluewave41
Halloween 2017 Winner
Halloween 2017 Winner
 
Posts: 1139
Joined: Wed Mar 18, 2015 11:37 am


Return to Trial System Bug Reports

Who is online

Users browsing this forum: No registered users and 2 guests