If there is another save method in the customBean->save() (for second module) the locking didn't work:
Overwriting the save method in Custom Module 1 like this:
Code:
function save($check_notify = FALSE){
$obj = new customModule2;
$obj->var = "fill me";
$obj->save();
return parent::save($check_notify);
} Then locking doesn't work. Inputs of User B overwrite the changes of User A.
When I replace $obj->save(); Locking is working.
Maybe I have to develop my own locking method, anybody know where the information are saved when more then one users are accessing the same record?
Is there a workaround? Thanks a lot.
Cheers, TommyL
Bookmarks