OokTech/TW5-Bob

[Bug] Tiddlers filepath/fileInfo does not update when using $:/config/FileSystemPaths

Opened this issue · 6 comments

While using the following $:/config/FileSystemPath tiddler:

[is[system]removeprefix[$:/]addprefix[_system/]]
[has[draft.of]addprefix[drafts/]]
[!is[system]!has[draft.of]tag[Glossary]addprefix[glossary/]]
[!is[system]!has[draft.of]addprefix[wiki/]]

When you update the filters in that tiddler, or when you create a new tiddler with the tag Glossary, the tiddlers remain where they were when Bob was started, or they are not placed in the correct directory. It seems my filter is not returning anything, but I'm not sure why, and it s a bit hard to debug the nested callbacks involved. TiddlyWiki core has a similar issue that I have addressed here:
TiddlyWiki/TiddlyWiki5#4630

Unfortunately, the wiki I am focusing on right now is complicated enough that I had to stop using Bob for a little while, and use TW node.js with my fix. Let me know if I can do anything to help debug or patch this. Mahalo (thanks).


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
  • 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

I have the same issue following the instructions from https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming

[is[system]removeprefix[$:/]addprefix[_system/]]
[tag[task]addprefix[mytasks/]]
[!has[draft.of]]

interestingly the _system/ addprefix works,
but the mytasks/ addprefix does not
additionally, naming a tidder like blog/2020/june/TitleSlug will actually create the folder structure blog/2020/june/ on the filesystem.. so I consider using filesystem paths as my tiddler titles. I just wonder if that can cause any issues internally

This issue and #138 stops me from using Bob, through I really want to use Bob with my Github backuper.

Will your PR #140 fixes this?

Ouch, I can't use my private wiki solution with bob...

I had to stop using Bob for a little while too...

I'm going to ask fix file info PR to be merged in the main tw repo.

I met the same issue, and can not install filesystem plugin to overcome bob.

@joshuafontany is this fixed? Seems your TiddlyWiki/TiddlyWiki5#5113 is merged