matiu2 / witty-plus

A base application under http://webtoolkit.eu .. adds users and logins
8 stars 4 forks source link

'Access denied' message inconsistently sticks around #11

Closed mnordhoff closed 12 years ago

mnordhoff commented 13 years ago

Steps to reproduce:

  1. If not logged in as admin, do so
  2. Click Users
  3. Click New
  4. Enter foo/bar/bar or whatever
  5. Click OK. It goes to a page saying "Access denied" and "??content??".
  6. Click login page. The "Access denied" message stays.
  7. Enter something bogus, e.g. foo/bar
  8. Click login button. The "Access denied" message quickly flashes to "Wrong username or password" but flashes back.
  9. Click login button again. The message changes for good.

Edit: Firefox 6, Linux, SOCKS proxy, so it's probably in normal Ajax mode?

matiu2 commented 13 years ago

Made all status text updates timeout after 8 seconds in https://github.com/matiu2/witty-plus/commit/47b12ad9cab655fbd9d32cb4a9783366cd88ba8f

matiu2 commented 13 years ago

Trying to make a WText now instead of a string bound to a slot in the template

matiu2 commented 12 years ago

Kind of OK now .. if someone else complains I'll give it another look :)