Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1.4, 1.1.5, 1.2.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows XP, WampServer Version 2.0
Description
Scenario:
$entity = Doctrine::getTable('Steps')->find($pID);
$lockingManager = new Doctrine_Locking_Manager_Pessimistic( Doctrine_Manager::connection() );
$lockingManager->releaseAgedLocks(300);
$gotLock = $lockingManager->getLock($entity, 'user1' );
Running this code locks the entire table "Steps", and not just the record.
in the table "doctrine_lock_tracking", in the fields: "object_type" and "object_key" are saved in this case: "Steps" and "IDStep".
I think that here must be saved "Steps" and "120" (the value of IDStep).
Activity
Jonathan H. Wage
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Cannot Reproduce [ 5 ] |
Fabian Brussa
made changes -
| Resolution | Cannot Reproduce [ 5 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
Fabian Brussa
made changes -
| Attachment | DC185TestCase.php [ 10174 ] |
Piotr Leszczyński
made changes -
| Affects Version/s | 1.2.3 [ 10051 ] |
Florian Zumkeller-Quast
made changes -
| Attachment | row_based_locking.patch [ 10688 ] |