Edition not possible. This item is presently edited!
I'm on version 2.1.14. I was receiving this error when attempting to edit several passwords that I believe were all created in one session a week ago. They were all in one folder. A different password in that folder was not presenting the error.
I went into the database and cleared the items_edition table for the items and they are editable again.
Edit: I'm now getting this error whenever I create a password. It successfully creates the password, but when I click Save, it displays the "Edition is not possible" message.
Also, "Editing is not possible" or "Cannot edit" would be more correct English. "Edition" has a different meaning (it basically means "version").
There was a row in the items_edition table with item_id of 0. I removed that row and the error message has gone away when saving a new password as well.
There's already a new row with item_id of 0 in the items_edition table, though. Kinda weird, not sure what that's for.
You can check and manage the status of editions through the Views page.
Good to know. Much nicer than having to write manual queries to clear them :). Didn't even realize that Views tab was there.
Brad, can you tell me what browser you are using please?
I'm using Chrome. We have a spattering of browsers used in the workplace, though - IE, Chrome, and Firefox depending on personal preference. I'm not sure what browser the user who created the passwords I couldn't edit was using.
I had the same issue in 2.1.15. Changed the code in items.queries.php line 1841 from
if (isset($_SESSION['settings']['delay_item_edition']) && $_SESSION['settings']['delay_item_edition'] > 0 && !empty($data_tmp[0]) && round(abs(time()-$data_tmp[0]) / 60, 2) > $_SESSION['settings']['delay_item_edition']) {
to
if (isset($_SESSION['settings']['delay_item_edition']) && $_SESSION['settings']['delay_item_edition'] > 0 && !empty($data_tmp[0]) && round(abs(time()-$data_tmp[0]) / 60, 2) > $_SESSION['settings']['delay_item_edition'] || $_POST['item_id'] == 0) {
and the error is not shown again. But I don't know, if that is a good solution.
There is definitely a bug here. I just cleared out about 30 "items actually in edition" from the Views admin page yesterday. Most of them said "Edition started from" 200+ hours ago. Our sessions are set to the default 1 hour, with the +1hr button available, so obviously many sessions died without the "Edition" being cleared. This morning I just checked that Views page again and it looks like there's one password that's been "in edition" for 20 hours.
Hi Can you tell me what browser you use? What versions? What type of server?
I think you are asking me about browsers. I'm in a small business environment with probably 20 users of TeamPass all using whatever their preferred browser is: IE9+, FireFox, or Chrome. The server is apache 2.2.22 + mysql 5.5.22 on Ubuntu 12.04.
Bug is confirmed. I''ve corrected it and it will be committed this evening.
Excellent, thanks!