laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
45.54k stars 4.95k forks source link

Move to notebook not working #5346

Closed laurent22 closed 3 years ago

laurent22 commented 3 years ago

select a note select "move to notebook" menu, or you can choose it from command palette (ctrl+shift+p) a pop up window where you can choose target notebook shows just press "enter" the pop up window is gone repeat from step 2.. but nothing happens...

https://discourse.joplinapp.org/t/bug-report-move-to-notebook/19610?u=laurent

sif commented 3 years ago

I was able to replicate this bug on my Mac. After I move a note to another notebook following the steps, the pop-up window doesn't show.

laurent22 commented 3 years ago

I cannot replicate this. Do you have an error message in the log? https://joplinapp.org/debugging

Daeraxa commented 3 years ago

https://discourse.joplinapp.org/t/bug-report-move-to-notebook/19610/8?u=daeraxa

I can replicate it in a couple of different environments:

Joplin 2.2.7 (prod, darwin) macOS 11.1 Joplin 2.1.9 (prod, win32) Windows 10 Joplin 2.3.5 (prod, win32) Windows 10 (Joplin portable)

Replication steps are exactly as provided, just to reiterate:

I've attached the console log from when the note was selected as well as the entire log.txt - both from the v2.3.5 version of Joplin portable with an entirely blank (aside from default notes + one extra folder) database. Either way, this section from the console doesn't look particularly fantastic:

C:\Users\username\AppDa…e-driver-node.js:21 Uncaught (in promise) Error: Error: SQLITE_CONSTRAINT: NOT NULL constraint failed: notes.parent_id: UPDATE `notes` SET `parent_id`=?, `updated_time`=?, `is_conflict`=?, `conflict_original_id`=? WHERE `id`=?: ,1629556560475,0,,d4043a54a0b34d91a7860f59223c45a9
    at DatabaseDriverNode.sqliteErrorToJsError (C:\Users\username\AppDa…e-driver-node.js:21)
    at JoplinDatabase.sqliteErrorToJsError (C:\Users\username\AppDa…\lib\database.js:34)
    at JoplinDatabase.<anonymous> (C:\Users\username\AppDa…lib\database.js:124)
    at Generator.throw (<anonymous>)
    at rejected (C:\Users\username\AppDa…n\lib\database.js:6)

consolelog.txt log.txt