• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Username is not case sensitive but using different case did not work

 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Today I witnessed this weird behavior for a well known application from a more well known company. It turned out that I had all the access and my account was setup perfect. The troubleshooting team saw no issues whatsoever. That said I was not able to see anything after logging in. No menus, no links,etc. The support team kept on replying that my account is fine and I maybe using wrong URL (a non production server) to login,etc. Then there was a 2 hour long trouble shooting session where my login attempts were actively monitored, sessions killed and stuff like that.
Finally the senior analyst jumped in. He suggested I use the username in all CAPS. I argued saying its logging me in and says its not case sensitive. But he wanted me to try that because nothing else was left
to try. I tried and it worked wonders.
I am still trying to figure it out
 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your subject line, like the cake, is a lie.

Clearly something in the system thought that the username was case sensitive. Sounds like a design/implementation flaw on their side.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yup, sounds like something in the code is doing a non-case-sensitive comparison somewhere. Sloppy, sloppy, sloppy.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Pat Farrell wrote:Your subject line, like the cake, is a lie.


Edited to make the subject line more meaningful, this is my best shot.

Funny thing about this application is that it says user name is not case sensitive. It allows any case for the username but does not work when it is not all CAPS, and this is the landing page after login.
I mean how did the testing miss the landing page, what can a user do if he only sees the logout button and nothing else?
This is an elephant size bug for me, okay, at least a baby elephant.
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh you don't know what can be missed in testing I am pretty sure all their usernames are test01, test02, test03
 
Pat Farrell
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jayesh A Lalwani wrote:Oh you don't know what can be missed in testing I am pretty sure all their usernames are test01, test02, test03



Then I'd fire the QA team lead.
Not kidding.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jayesh A Lalwani wrote:I am pretty sure all their usernames are test01, test02, test03


Even worse 123456, 000000,etc. This is a place where case would not make any difference
 
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hit a related (though less obvious) problem with an application last year. Everything worked fine if people logged in with their username (any case :-)). What I (and everybody who tested it) didn't predict is that some people would log in as username@domain. Because I never do, and nobody I know ever does. Why would you? What I also didn't realise was that if you did try and log in like that, you can, because of the way I was authenticating against Active Directory. But then it blew up somewhere else when it tried to carry out a lookup on the "username" that had been entered. Easily fixed, once you know about it.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Matthew Brown wrote:What I (and everybody who tested it) didn't predict is that some people would log in as username@domain. Because I never do, and nobody I know ever does. Why would you?



Yeah, I've been caught in the past by testing things the normal way, the way that any reasonable person (such as me) would do it, only to find that people were doing those things in peculiar ways.
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:Yeah, I've been caught in the past by testing things the normal way, the way that any reasonable person (such as me) would do it, only to find that people were doing those things in peculiar ways.



That's a particular problem when you're testing your own work. Because you know so well how it's supposed to be used that you miss things that even a reasonable person (such as me ) would do if they were unfamiliar.

There's no real substitute for giving it to real users.
 
Jayesh A Lalwani
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is why it's easier to develop apps that are dog-food able, which means that the developers are able to use the app themselves. They are the end users.

Unfortunately most people work in domains that are non dog foodable
 
Amit Ghorpade
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another funny thing about this app is that it pulls user information from the active directory and populates fields on a form.
There is a field that is populated correctly but while saving the form, it shows an error. Guess what, it is not a user friendly error, its the actual error thrown by the code.
So you cannot click "Save", instead you need to click "Save and exit". Same error gets displayed but the form gets saved.
 
This one time, at bandcamp, I had relations with a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic