OokTech/TW5-Bob

edit lock stays, after locking browser was closed before saveing the draft

Opened this issue · 2 comments

The edit lock on a tiddler stays, and the edit button is disabled (padlock icon) after the writing/locking browser was closed before saveing the draft. After restarting the server, the lock is gone.

How can this tiddler be unlocked on a running server?


I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

  • Windows
  • OSX
  • Linux
  • Other

and using

  • The nodejs version
  • The single file executable

Before posting I read issue guidelines and:

  • I am using the newest version (node LTS), tiddlywiki 5.1.23, bob newest, os win 10 newest updates, firefox/chrome newsest
  • The answer to my question isn't listed in the documentation or this isn't
    a question
  • This is not a duplicate issue
  • [?] I have not done anything that required me to set acceptance to
    I Will Not Get Tech Support For This

The quick answer to your question is to edit $:/state/Bob/EditingTiddlers. In the list field it has a list of all of the tiddlers currently being edited by anyone on the server. So you can remove the tiddler name from the list field or delete the tiddler and it will remove the lock. Just be careful when you do this to avoid removing a lock from someone else actually editing the tiddler.

I have made some progress toward fixing this problem, but I don't know when the solution will be finished.

While the different edge cases that cause this issue haven't all been handled, I am adding a much easier way to clear the lock icon from tiddlers that shouldn't have it.