Hello,
I have version V12.0.2
One of my users, when he open Global List after selecting a project on top, when he clics on one item, the application hang and gets disconnected.
here is the capture when he clics on an item.
For now, this only happens to one user, other users are able to navigate and clic on item in global list.
and here is the error message in log files
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] HACK ================================================================
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] Try to hack detected
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] Source Code = SqlElement->_construct : id 'undefined' is not numeric for class Risk
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] QUERY_STRING = destinationWidth=2550&destinationHeight=416&isIE=&xhrPostDestination=detailDiv&xhrPostIsResultMessage=false&xhrPostValidationType=&xhrPostTimestamp=1742294243477&csrfToken=
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] REMOTE_ADDR = 10.1.120.57
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] SCRIPT_FILENAME = /var/www/html/view/objectDetail.php
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] CONNECTED USER = #109 - estgeorgestremblay
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] === Trace Stack for last error ===
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] => /var/www/html/tool/projeqtor.php at line 1701 calling debugPrintTraceStack()
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] => /var/www/html/model/persistence/SqlElement.php at line 795 calling traceHack()
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] => /var/www/html/model/RiskMain.php at line 122 calling SqlElement:__construct()
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] => /var/www/html/model/custom/Risk.php at line 110 calling RiskMain:__construct()
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] => /var/www/html/view/objectDetail.php at line 153 calling Risk:__construct()
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] ===
2025-03-18 06:37:23.538 ** ERROR ** [V12.0.2] [109] REQUEST_URI = /view/objectDetail.php?destinationWidth=2550&destinationHeight=416&isIE=&xhrPostDestination=detailDiv&xhrPostIsResultMessage=false&xhrPostValidationType=&xhrPostTimestamp=1742294243477&csrfToken=
Regards
Fermer
Hi,
we don't reproduce your issue but we fixed a issue with the try to hack code.
And so for your issue, if you rename your custom/risk.php into something else like custom/riskOld.php and your issue not occure anymore, the issue came from your custom.
If it still occure wait for the next patch with the try to hack fixed.
Regards
