Hey,

2016-05-16 15:08 GMT+02:00 K. Frank <kfrank2...@gmail.com>:

> Hello List!
>
> I am playing around with Wt and wish to experiment with Wt's
> account / authentication features, so I am looking at the hangman
> example, and running it on line.
>
>    https://www.webtoolkit.eu/wt/examples/hangman-game/hangman.wt
>
> It seems that when I click on the high-scores link, I get stuck on
> the login page.
>

I just tried and indeed there was a database problem with the online
version, which caused registration of a new user to fail.

The cause is not in the software but in the database itself: the hangman
game was migrated (a few years ago) from it's own authentication system to
Wt::Auth / Wt::Dbo, but there was something not quite right in the migrated
user table. It's now been fixed.

   1)  I've done something wrong
>    2)  there's a bug in the hangman example that I've copied
>    3)  there's a bug in the underlying Wt library
>
> Have I misunderstood how to use the online hangman's login page?
> Should I be expecting it to work?  Should I be comfortable modelling
> my own code after the hangman example, or does it have some known
> issues that I should be planning to correct?
>

We understand the risk of using a library is being in the dark when
something goes wrong. Therefore we try to give clear errors and logging of
exceptions. In this case it seems you would get an error message in the log
file that hints at what's wrong (a SQL database exception)

Regards,
koen
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to