Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicts notebook crashes application #10073

Closed
personalizedrefrigerator opened this issue Mar 6, 2024 · 0 comments
Closed

Conflicts notebook crashes application #10073

personalizedrefrigerator opened this issue Mar 6, 2024 · 0 comments
Labels
bug It's a bug high High priority issues

Comments

@personalizedrefrigerator
Copy link
Collaborator

personalizedrefrigerator commented Mar 6, 2024

Operating system

Linux (Ubuntu 23.10), Android

Joplin version

3.0.0

Desktop version info

Joplin 3.0.0 (dev, linux)

Client ID: 46b55b8904d64022a2426a6ed967f3cf
Sync Version: 3
Profile Version: 46
Keychain Supported: No

Revision: 70c7804

ABC Sheet Music Plugin: 1.0.4
Backup: 1.4.0
CodeMirror 6 snippets: 0.0.5
Freehand Drawing: 2.7.1
Math Mode: 0.6.2

Current behaviour

To reproduce:

  1. Sync two clients with a sync target
    • I tested using file system sync
  2. Make a change to a synced note on client 1, but don't sync
  3. Make a change to the same note on client 2
  4. Sync both clients such that a Conflicts notebook is created

Currently, just after step 4, the Joplin encountered a fatal error and could not continue. screen is shown.

Notes:

  • This may also be an issue with the Conflicts (attachments) notebook.
  • I have also been able to reproduce this on Android 7 (also Joplin 3.0.0).

Expected behaviour

Conflicts should not crash Joplin.

Logs

Error screen content:

Error
Joplin encountered a fatal error and could not continue.

To report the error, please copy the *entire content* of this page and post it on Joplin forum or GitHub.

If the error persists you may try to [restart in safe mode](https://github.com/laurent22/joplin/issues/new?assignees=&labels=bug&projects=&template=BUG_REPORT.yml#), which will temporarily disable all plugins.

Message
Missing "deleted_time" or "parent_id" property: {"type_":2,"id":"c04f1c7c04f1c7c04f1c7c04f1c7c04f","parent_id":"","title":"Conflicts","updated_time":1709749989897,"user_updated_time":1709749989897,"share_id":"","is_shared":0,"note_count":1}

Version info
Joplin for Desktop

Copyright © 2016-2024 Laurent Cozic
Joplin 3.0.0 (dev, linux)

Client ID: 46b55b8904d64022a2426a6ed967f3cf
Sync Version: 3
Profile Version: 46
Keychain Supported: No

Revision: 70c7804a4

ABC Sheet Music Plugin: 1.0.4
Backup: 1.4.0
CodeMirror 6 snippets: 0.0.5
Freehand Drawing: 2.7.1
Math Mode: 0.6.2
Plugins
[
    {
        "id": "io.github.jackgruber.backup",
        "name": "Backup",
        "enabled": true,
        "version": "1.4.0"
    }
]
Stack trace
Error: Missing "deleted_time" or "parent_id" property: {"type_":2,"id":"c04f1c7c04f1c7c04f1c7c04f1c7c04f","parent_id":"","title":"Conflicts","updated_time":1709749989897,"user_updated_time":1709749989897,"share_id":"","is_shared":0,"note_count":1}
    at getDisplayParentId (/home/builder/Documents/joplin/packages/lib/services/trash/index.js:32:15)
    at folderHasChildren_ (/home/builder/Documents/joplin/packages/lib/components/shared/side-menu-shared.js:13:63)
    at renderFoldersRecursive_ (/home/builder/Documents/joplin/packages/lib/components/shared/side-menu-shared.js:43:29)
    at renderFolders (/home/builder/Documents/joplin/packages/lib/components/shared/side-menu-shared.js:58:12)
    at SidebarComponent (/home/builder/Documents/joplin/packages/app-desktop/gui/Sidebar/Sidebar.js:528:61)
    at renderWithHooks (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at updateFunctionComponent (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-dom/cjs/react-dom.development.js:19588:20)
    at beginWork (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-dom/cjs/react-dom.development.js:21601:16)
    at beginWork$1 (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-dom/cjs/react-dom.development.js:26557:12)
Component stack

    at SidebarComponent (/home/builder/Documents/joplin/packages/app-desktop/gui/Sidebar/Sidebar.js:103:50)
    at ConnectFunction (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-redux/lib/components/connect.js:246:74)
    at div
    at I (/home/builder/Documents/joplin/packages/app-desktop/node_modules/styled-components/dist/styled-components.cjs.js:1:19269)
    at div
    at Resizable (/home/builder/Documents/joplin/packages/app-desktop/node_modules/re-resizable/lib/index.es5.js:211:28)
    at div
    at ResizableLayout (/home/builder/Documents/joplin/packages/app-desktop/gui/ResizableLayout/ResizableLayout.js:47:45)
    at div
    at MainScreenComponent (/home/builder/Documents/joplin/packages/app-desktop/gui/MainScreen/MainScreen.js:77:9)
    at ConnectFunction (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-redux/lib/components/connect.js:246:74)
    at div
    at NavigatorComponent (/home/builder/Documents/joplin/packages/app-desktop/gui/Navigator.js:7:1)
    at ConnectFunction (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-redux/lib/components/connect.js:246:74)
    at exports.ThemeProvider (/home/builder/Documents/joplin/packages/app-desktop/node_modules/styled-components/dist/styled-components.cjs.js:1:25001)
    at ae (/home/builder/Documents/joplin/packages/app-desktop/node_modules/styled-components/dist/styled-components.cjs.js:1:13440)
    at RootComponent (/home/builder/Documents/joplin/packages/app-desktop/gui/Root.js:103:1)
    at ConnectFunction (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-redux/lib/components/connect.js:246:74)
    at ErrorBoundary (/home/builder/Documents/joplin/packages/app-desktop/gui/ErrorBoundary.js:21:9)
    at Provider (/home/builder/Documents/joplin/packages/app-desktop/node_modules/react-redux/lib/components/Provider.js:19:3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug high High priority issues
Projects
None yet
Development

No branches or pull requests

2 participants