Zettlr: [bug] cannot change name of root directory - reference to null

Created on 13 May 2020  Â·  5Comments  Â·  Source: Zettlr/Zettlr

Description

Cannot rename a root (the highest in the hierarchy) directory. Zettlr displays

Cannot read property 'path' of null

Changing name of subfolder work, when analysing console output I noticed that parent of a subfolder is referenced as "null"

Reproducing

Expected behaviour


Screenshots

Platform

  • OS and version: MacOs Catalina
  • Zettlr Version: 1.7.2
  • Screen Resolution:

Additional information

bug [critical] v1.7.x

Most helpful comment

Still a few things going on, but I don't have time today to pin down all issues with renaming directories. Nevertheless, as almost all critical bugs are now fixed, I'm releasing another beta to make sure the rest is working properly!

All 5 comments

Any chance there was additional info with a file name and line number?

You mean log?

>>> IPC IN: dir-rename
[16:50:03]  Trying to run a command through Application: dir-rename

And then the log output stops.
And when I try to rename a project I am getting

Cannot read property 'children' of null

It actually happens only for root directories, changing name/deleting of the subdirectory works as usuall

Alright … in general the main problem is that tracing openFiles may prove to be a problem … I'll get to this in the next beta!

Still a few things going on, but I don't have time today to pin down all issues with renaming directories. Nevertheless, as almost all critical bugs are now fixed, I'm releasing another beta to make sure the rest is working properly!

… just stumbled upon this issue again, had a look at the code and it SHOULD work now … does it? Or doesn't it? If not, please test with tomorrows new beta, and if it still doesn't work, just comment and I'll re-open this asap!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grst picture grst  Â·  4Comments

Kangie picture Kangie  Â·  4Comments

IulekShi picture IulekShi  Â·  5Comments

danieltomasz picture danieltomasz  Â·  5Comments

maehr picture maehr  Â·  3Comments