Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 of 9 tasks
jumisnotavailable opened this issue Aug 19, 2021 · 2 comments
Open
5 of 9 tasks
Labels

Comments

@jumisnotavailable
Copy link

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
@inmysocks inmysocks added the bug label Aug 29, 2021
@inmysocks
Copy link
Member

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.

@inmysocks
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants