•  
      request #28251 Crash when looking for a user using a name and a status in the siteadministration
    Infos
    #28251
    Thomas Gerbet (tgerbet)
    2022-08-19 16:28
    2022-08-19 09:42
    29815
    Details
    Crash when looking for a user using a name and a status in the siteadministration

    Introduced by git #tuleap/stable/9e2d116752db0f893558b55e8a930e737c69d960

    Trace:

    PHP Fatal error:  Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?
                ORDER BY user_name ASC LIMIT ?, ?' at line 18 in /usr/share/tuleap/src/vendor/paragonie/easydb/src/EasyDB.php:1458
    Stack trace:
    #0 /usr/share/tuleap/src/vendor/paragonie/easydb/src/EasyDB.php(1458): PDO->prepare()
    #1 /usr/share/tuleap/src/vendor/paragonie/easydb/src/EasyDB.php(1004): ParagonIE\EasyDB\EasyDB->prepare()
    #2 /usr/share/tuleap/src/common/dao/UserDao.class.php(527): ParagonIE\EasyDB\EasyDB->safeQuery()
    #3 /usr/share/tuleap/src/www/admin/userlist.php(187): UserDao->listAllUsers()
    #4 {main}
      thrown in /usr/share/tuleap/src/vendor/paragonie/easydb/src/EasyDB.php on line 1458
    
    Site admin
    13.12
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2022-08-19
    Attachments
    Empty
    References

    Follow-ups