testmycode / tmc-netbeans

Test My Code NetBeans plugin
GNU General Public License v2.0
19 stars 18 forks source link

A human readable error message for incorrect credentials #121

Open ljleppan opened 8 years ago

ljleppan commented 8 years ago

When a user attempts to return an exercise with incorrect credentials, the resulting error message contains no "human-readable" instructions on what to do, only referring to a HTTP status code 401.

jamo commented 8 years ago

Duplicate of https://github.com/testmycode/tmc-netbeans/issues/53

baobabKoodaa commented 8 years ago

I'll do it

baobabKoodaa commented 8 years ago

Unable to reproduce. Can you give more info?

ljleppan commented 8 years ago

Details are a bit unclear as the original error report was quite short. Apparently the flow of events is something similar to the following:

  1. Enter valid TMC credential to the plugin
  2. Fetch exercises from server
  3. Invalidate your credentials. This part is the most unclear. Possibilities for this include:
    1. Edit TMC plugin settings
    2. Change password on TMC server
  4. Submit exercises from NetBeans
baobabKoodaa commented 8 years ago

Thanks. Fixed issue.