Page 1 of 1
[fixed]ContentManager lock when modified user preference
Posted: Fri May 22, 2015 12:08 pm
by Jean le Chauve
New install Rev 9975
Admin user, add new content, submit ;
Go to your settings and change the language (fr->en).
You are not able to edit the last created content (this page is currently being edited by an other user), locked by Admin for 60 minutes.
This happen only the first time you change the settings.
Go to Settings - Content Manager and set Locking Expiration Time-out (minutes): 0, submit.
The content still locked for 60 minutes...
Re: Content Manager lock when modified user preferences
Posted: Fri May 22, 2015 12:46 pm
by jce76350
I Confirme the lock, it seems that is a random lock

Re: [confirmed] Content Manager lock when modified user pref
Posted: Fri May 22, 2015 1:28 pm
by Franck
Same for me. If I remember correctly, I had 2 tabs opened on my browser, and I edited a page and closed it. In the other tab, the page was locked. I changed parameters in the "content manager parameters" to desactivate the locking system, and several days later, the page is still locked.
Re: [confirmed]ContentManager lock when modified user prefer
Posted: Tue Jun 23, 2015 6:28 am
by archeo
I confirme. Locking is automatic with default value. The first thing I do after a new install is specifying a value of 0 to disable locking, otherwise design manager and content manager are unuseable.
Re: [confirmed]ContentManager lock when modified user prefer
Posted: Tue Jun 23, 2015 2:39 pm
by calguy1000
a: When you 'submit' a content page (or cancel) an edit. The page should be automatically unlocked. I have tested this many, many times.
b: The content list page does not automatically refresh via ajax. So if it lists a page as 'locked' you will have to reload to see if it became unlocked. This can be confusing if using multiple browser pages. But it is correct.
c: Changing the lock expiry to 0 or 30 or 120 only effects new edit sessions, it does not effect any existing locks.
d: Pages do not automatically become unlocked if you close the browser tab or close the browser when in edit content, or some error occurs. You will have to wait for the lock to timeout and then you can 'steal it'.
You can see by hovering over the page title of a locked page, approximately how many minutes until the lock expires. (refresh the content list page to update this). After the lock has expired (you may have to refresh again). There will be an icon allowing you to steal the lock.
Re: [confirmed]ContentManager lock when modified user prefer
Posted: Tue Jun 23, 2015 2:58 pm
by calguy1000
I just created a new install from the latest snapshot. Installed French, English, and Dutch languages.
Using a single browser tab I
- changed my language to French in 'My Preferences'
- Created a new test page... added some silly content, hit submit
(the page was not locked after submit)
- Changed my language to English
- Viewed the content list.... no content was locked.
- Edited the new page created above. hit submit
(the page was not locked after submit).
So it all works correctly here. Again, the behavior can be a bit confusing if you are using multiple browsers or browser tabs AND you do not reload the content list.
Re: [confirmed]ContentManager lock when modified user prefer
Posted: Wed Jun 24, 2015 6:26 pm
by archeo
I also create a new install from the latest snapshot. I edit 5 templates without locking. Automatic locking begin and all existing template are locked after edit and summit. There is no automatic locking in content manager.
Re: [confirmed]ContentManager lock when modified user prefer
Posted: Thu Jun 25, 2015 8:34 pm
by Franck
I still have the problem with design manager on rev10057: 2 stylesheets edited 2 weeks ago are still locked. I can open them though, but I don't understand why a message says it's already currently edited by someone else, as it's not the case.
No more locking problem on content manager either for me.
Re: [confirmed]ContentManager lock when modified user prefer
Posted: Sat Jun 27, 2015 6:42 pm
by calguy1000
I have just spent another hour trying to replicate an issue wrt locking in the design manager... and I cannot reproduce any issue.
Re: [confirmed]ContentManager lock when modified user prefer
Posted: Sun Jun 28, 2015 9:17 pm
by calguy1000
I think we've fixed the Design Manager issues wrt locking.
Re: [fixed]ContentManager lock when modified user preference
Posted: Mon Jun 29, 2015 8:01 am
by archeo
not solved for me (snapshot 2015-06-29 00:30) :
1- templates are automaticly looked with default value parameters :
Lock Time out (minutes): 60
Lock Refresh Interval (seconds): 120
2 - I turn values to :
Lock Time out (minutes): 0
Lock Refresh Interval (seconds): 0
---> no locking
3 - return to default value
Lock Time out (minutes): 60
Lock Refresh Interval (seconds): 120
---> no locking
Could you try using default values? :
Lock Time out (minutes): 0
Lock Refresh Interval (seconds): 0
EDIT : Automatic locking come back with default values
system information
wamp server 2.5 on windows seven
firefox 38.0.5
----------------------------------------------
Cms Version: 2.0-rc1
Installed Modules:
AdminSearch: 1.0
CMSContentManager: 1.0
DesignManager: 1.0
FileManager: 1.5
MicroTiny: 2.0
ModuleManager: 2.0
Navigator: 1.0
News: 2.50
Search: 1.50
Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Paris
permissive_smarty: false
Php Information:
phpversion: 5.5.12
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference:
test_db_timedifference:
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 64M
session_save_path: c:/wamp/tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.17
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No file system time difference found
----------------------------------------------
Re: [fixed]ContentManager lock when modified user preference
Posted: Mon Jun 29, 2015 8:44 am
by jce76350
Solved for me on last rev 10063
Test on WAMP with PHP 5.4.42
Lock Time out (minutes): 5
Lock Refresh Interval (seconds): 30
Test on Web sever with PHP 5.5.23
Lock Time out (minutes): 60
Lock Refresh Interval (seconds): 120
OK for templates and CSS
Re: [fixed]ContentManager lock when modified user preference
Posted: Tue Jun 30, 2015 8:30 am
by archeo
Solved for me.
But if you edit a template, click on apply and after exit by a click on design manager in the left column, you lock the template. it's logical: the template is being edited by you. What is the interest of a autolocking here?