Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Login Screen

    Recently my company has upgraded our application from SmartGWT 6.0 to 12.0. After the upgrade we are having issues with the login screen. If you type in incorrect credentials it used to come up with a message telling the user to check their credentials. Now it gets a pop-up exception message. Below you will see the screen shot. From my research the issues seems to be coming from the RPCManager class. Specifically the sendRequest method. Here is a screen shot highlighting the call in that method that is the last thing before the pop-up.Click image for larger version

Name:	Login_Error.JPG
Views:	107
Size:	5.6 KB
ID:	261828Click image for larger version

Name:	RPCManager.JPG
Views:	78
Size:	52.4 KB
ID:	261829

    #2
    It looks like somebody didn’t read the QuickStart Guide - in the Authentication section we explain that you should not use SmartGWT for the login page, and why.

    As far as blaming this error on us, you seem a bit confused. A 401 error means something went wrong with your LoginServlet (which is not something we provide), so look at any logs for that (we’re not even sure it uses our software at all).

    Meanwhile you have highlighted the *client-side* code for sendRequest. Well yes, in order for your server code to crash, the client must indeed send a request! Now time to look at why your server code crashed.

    If you need to follow up again, please read the Debugging guide and forum FAQ first - you omitted a lot of key information.

    Comment

    Working...
    X