jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: "Undefined" Threads Generated in Threads Folder During API Thread Creation Process causing Jan app crash

Open Van-QA opened this issue 1 year ago • 0 comments

Gathered information from users https://discord.com/channels/1107178041848909847/1226934207238901954

Describe the bug

While exploring the Threads folder, I noticed the presence of several "undefined" folders. These folders appeared to have been generated when I was experimenting with the API, I remembered when I was playing with the API it kept creating threads with similar IDs.

Steps to reproduce

  1. Access the API for creating threads.
  2. Create a new thread using the API.
  3. Observe the Threads folder for any "undefined" folders or simply reuse the one provided below
  4. Observe that with there thread folder undefined_xxxxxxx the App crash

Expected behavior

After creating threads using the API, I would expect only the threads with valid IDs and names to be generated and stored in the THreads folder.

Screenshots

  • Threads folder containing several "undefined" folders with similar IDs to those I created while experimenting with the API.
  • Upon deletion of the "undefined" folders, the app was able to start, implying that the creation of threads with the API may be improperly handling edge cases or returning incorrect values. image image

Environment details

  • Operating System: Windows / MacOS

Logs app (4).log What's weird it it was reading "undefined" in "settings", yet the "settings" folder was completely empty Here are the undefined folders I deleted Archive.zip

Van-QA avatar Apr 09 '24 04:04 Van-QA