Skip to content

Pad aplikace pri prirazeni vycteneho cipu nestartujicimu zavodnikovi - pouze postgres #752

@xkenia

Description

@xkenia

Mam prihlaseneho nestartujiciho zavodnika (ma zaskrtnuto, ze nestartuje, spis tedy odskrtnuto), mam vycteny cip, zkusim priradit vycteny cip nestartujicimu zavodnikovi, QE ukaze hlasku, ze "Zavodnik nestartuje a priradi jej tedy znovu do zavodu" => potom mi program spadne. Pouze Postgres.

2022-06-20T06:50:04[exception.cpp:44]|W| UPDATE runs SET isRunning=1 WHERE competitorId=8 AND stageId=1
ERROR:  column "isrunning" is of type boolean but expression is of type integer
LINE 1: UPDATE runs SET isRunning=1 WHERE competitorId=8 AND stageId...
                                  ^
HINT:  You will need to rewrite or cast the expression.
(42804) QPSQL: Nepodařilo se vytvořit žádný dotaz 
 src/sql/query.cpp:49 at bool qf::core::sql::Query::exec(const QString&, bool) 
----- stack trace -----
 
terminate called after throwing an instance of 'qf::core::Exception'
  what():  UPDATE runs SET isRunning=1 WHERE competitorId=8 AND stageId=1
ERROR:  column "isrunning" is of type boolean but expression is of type integer
LINE 1: UPDATE runs SET isRunning=1 WHERE competitorId=8 AND stageId...
                                  ^
HINT:  You will need to rewrite or cast the expression.
(42804) QPSQL: Nepodařilo se vytvořit žádný dotaz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions