-
Notifications
You must be signed in to change notification settings - Fork 28
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
Bob deletes tiddler when edited via edit-text #194
Comments
I don't want to complicate this issue, My version setup is:
The error case is:
|
I also had a script running on the server that would scan modified .tid files, and modify them based on the contents. I assumed it was my poor coding that was causing some of those to get deleted, and only discovered my above problem after disabling it. Maybe my code wasn't as poor as I thought. |
Some debugging on my end:
This creates files in the This may have also been a race condition (but I did not spend much time debugging)
Vim backup files seemed like a bad idea to mix with the TW-Bob file system watcher, so I disabled them. In addition, I made some code changes I'm trying out at https://github.com/simpsoneric/TW5-Bob/tree/fs_sync_issues I've run my local setup for the past day and have not run into the deleted tiddler problem. I'll caveat my changes with my lack of TW-Bob knowledge. |
I have blindly changed my install to use your repository (after backing up). It's multi-user, but we rarely edit at the same time. I'll let you know if I encounter any issues. |
EDIT: It looks like I am a fool and failed to switch to your repo.
|
When editing a Tiddler via an edit-text widget in another tiddler, the tiddler being edited will frequently get deleted. This happens regardless of how its being targeted (variable from dropdown or hardcoded) and whether or not the widget itself is hardcoded or generated as part of a macro.
My first hypothesis is that bob is trying to save the modified tiddler every single character, and occasionally steps on itself (sometimes you can go for many seconds without problem).
My first instinct is to increase the save delay (IE wait 30 seconds between changes before saving, not 0). But I'm not sure how to do that, and it would really only be masking over the problem.
Any thoughts?
This is my widget that's causing the issue
<$edit-text tag=textarea class=table-editor-text minHeight=10px tiddler=Test field=effect1/> \end
I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):
and using
Before posting I read issue guidelines and:
a question
I Will Not Get Tech Support For This
The text was updated successfully, but these errors were encountered: