Hi,
I'm developing the texasholdem project and I have a weird error with a modal dialog.
I'm using a modal dialog with just a number input and two buttons (OK and Cancel) to allow to player to choose a bet amount. It works fine when using the buttons to confirm or cancel the bet, but when I click into the input area and press enter, it opens a page with the below content.
Sorry, an unexpected error has occurred...
Failed to get mandatory argument: table
#0 /var/tournoi/release/tournoi-210121-0943-gs/www/include/APP_GameAction.inc.php(32): APP_Action->getArg('table', 1, true)
#1 /var/tournoi/release/tournoi-210121-0943-gs/www/include/APP_GameAction.inc.php(21): APP_GameAction->initGameTableObjects()
#2 /var/tournoi/release/tournoi-210121-0943-gs/www/include/webActionCore.inc.php(182): APP_GameAction->__construct()
#3 /var/tournoi/release/tournoi-210121-0943-gs/www/index.php(247): launchWebAction('texasholdem', 'action_texashol...', '__default', false, false, NULL, true, false)
#4 {main}
It seems it triggers a default action which does not contain the required argument. Any idea why that happenned?
I'm developing the texasholdem project and I have a weird error with a modal dialog.
I'm using a modal dialog with just a number input and two buttons (OK and Cancel) to allow to player to choose a bet amount. It works fine when using the buttons to confirm or cancel the bet, but when I click into the input area and press enter, it opens a page with the below content.
Sorry, an unexpected error has occurred...
Failed to get mandatory argument: table
#0 /var/tournoi/release/tournoi-210121-0943-gs/www/include/APP_GameAction.inc.php(32): APP_Action->getArg('table', 1, true)
#1 /var/tournoi/release/tournoi-210121-0943-gs/www/include/APP_GameAction.inc.php(21): APP_GameAction->initGameTableObjects()
#2 /var/tournoi/release/tournoi-210121-0943-gs/www/include/webActionCore.inc.php(182): APP_GameAction->__construct()
#3 /var/tournoi/release/tournoi-210121-0943-gs/www/index.php(247): launchWebAction('texasholdem', 'action_texashol...', '__default', false, false, NULL, true, false)
#4 {main}
It seems it triggers a default action which does not contain the required argument. Any idea why that happenned?