Record locking :: Which locking logic is implemented?

gordian

New member
Hello,
when inserting a new record into the database, I get too often the message

"The record is no longer locked. It is not safe to save. Please start the editation again."

( it is translated from german )

Is there a timeout implemented for inserting/editing a record?!

Kind regards
Gordian

You are using DaDaBIK version 7.3 enterprise, installed on 05-25-2016, the last version of DaDaBIK is released on --

You are not running the last release of DaDaBIK, the release you are running might have bugs and security holes, see the official change log for further information. You can upgrade DaDaBIK here.

PHP Version: 5.2.17

mysql version: 5.6.19-67.0-log

Web server: Apache/2.4.20

Client: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
 

eugenio

Administrator
Staff member
Hello,
I guess you meant during EDIT not during INSERT, am I right? There is no lock during INSERT.
For EDIT, you can set the time in config.php, parameter $seconds_after_automatic_unlock

Cheers,
 

gordian

New member
Hi Eugenio,

I meant during EDIT - sorry.

Thank you for the hint to the config-parameter, that I have to change.

Best, Gordian
 

bkim

Member
One thing I've also noticed is that if you are editing entry A and attempt to edit entry B from the same table at the same time, it will lock entry A.
 

eugenio

Administrator
Staff member
Hi,
can you please post the detailed steps to reproduce this problem? I am not aware of it.
 
Top