v2.1.9 - project manager creates new projects under already-existing database names

Viewed 44

I haven't used Drafft in a bit, so the previous version before that was 2.1.5.
I downloaded 2.1.9 to create a new project and the problem immediately started.
I am using Linux Mint 22.1 Cinnamon and the AppImage version of Drafft.

  • Whenever I click "create new project", no matter the database name I input, Drafft will create the new project with a database name that already exists.

  • The two projects are shown as open in the project manager, although the new (empty) one is the one truly opened by Drafft.

  • When I try to delete the new (empty) project, Drafft deletes the old/other one with the notification "Project deleted: (old project)". Then when I try to delete the new one again, Drafft won't delete it, even though it does give me a notification "Project deleted: (new project)". The new (empty) project still appears in the project manager and can still be opened. I can create a new GDD there for example, save it, close Drafft, and access it again.

I also have issues with "Restore Database from file in a new project" since this version but I assume I should make another report/thread about that?

2 Answers

This is strange! I could reproduce once in the compiled version, but cannot reproduce it anymore! could you send me the console log at support@drafft.dev? to get it:

  1. Open app
  2. ctrl shift I
  3. project manager
  4. you will see an array of projects in the console, can you send me that array?
  5. open a project
  6. send me the log from there.

BTW: I 'fixed' it by going to the application tab -> Indexed DB and removing all "godess of fate" databases. The problem is that I did not get why/what the issue... I'm guessing a corrupted metadata somewhere in old projects that's causing the manager to freak out.

image.png

EDIT: I have a lead, do you get, a consolo message when tryin got delete?

"No Project Settings Found. Using Defaults."
"No LOCAL Project Settings Found. Using Defaults."

Thank you!

EDIT: Fixed in v2.1.10. Thank you!!

Yes, I do see those comments in the console! "No Project Settings Found. Generating Defaults." AND "No local project settings found. Generating Default."

Do you still need me to email you the array?

It... might be... because I created some kanban boards during the very short time they were included by mistake? And then I didn't think about deleting them before upgrading. And then they were clearly corrupted/giving error messages in the next version which had kanban board, but since these were just "test" boards without important data on it for me I let it slide.