View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007246 | mantisbt | db oracle | public | 2006-06-30 03:05 | 2014-12-08 00:34 |
Reporter | rulaan | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.3 | ||||
Target Version | 1.3.0-beta.1 | Fixed in Version | 1.3.0-beta.1 | ||
Summary | 0007246: Not possible to use singup functionality | ||||
Description | APPLICATION WARNING #user_get_field() for NO_USER: APPLICATION WARNING #user_get_field() for NO_USER: APPLICATION WARNING #user_get_field() for NO_USER: APPLICATION WARNING #user_get_field() for NO_USER: APPLICATION WARNING #user_get_field() for NO_USER: PROBLEMS SENDING MAIL TO: @null@ | ||||
Additional Information | using Mantis 1.0.3 / Apache 2.0.58 / PHP 5.1.4 / Oracle 9.2.0.7 DB Problem seems to be that in user_api.php
is not receiving an id. Apparently Insert_ID is not implemented/working within ADODB oci8 (Oracle) implementation. Several other parts of Mantis may also be affected | ||||
Tags | No tags attached. | ||||
Added code to database_api.php which solved the problem for now:
if ( isset($p_table) && db_isoci8() ) { and added function:
--------------------
This solves the issue for now. SEQUENCE.CURRVAL is private to the DB session. Only when more users share a connection (is this the case in Mantis?) this can cause problems when 2 users make an insert in the same table at almost the same time. |
|
The same solution for the problem just coded another way. diff -rupN mantisbt-1.1.7/core/adodb/drivers/adodb-oci8.inc.php mantisbt-1.1.7_zce/core/adodb/drivers/adodb-oci8.inc.php
If I get the time I try to figure out if there is a problem with two simultaneous queries and CURRVAL. |
|
Would you have a chance to test if problem still exists using oracle branch in 0013227 (https://github.com/dregad/mantisbt/commits/oracle), and submit a revised patch/pull request against that if it's the case ? |
|