Floccus: Syncing failed with Cannot read property 'type' of undefined

Created on 10 Jan 2021  路  1Comment  路  Source: floccusaddon/floccus

Describe the bug
When i sync down to root folder in chrome, i get this error: Syncing failed with Cannot read property 'type' of undefined
When i sync down to another folder, it works as expected.
On server i have a subfolder "private".

The error occures in getDiffs method in this row:

return t.type === e.type && String(t.id) === String(e.id)

To Reproduce
Steps to reproduce the behavior:

  1. sync bookmarks down to root folder in chrome

Expected behavior
Sync without error

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser: Chromium
  • Browser Version Version 87.0.4280.88 (Official Build) for Linux Mint (64-bit)
  • Floccus version: 4.4.7
  • Floccus sync method: nextcloud folders

Server (please complete the following information):

  • OS: [e.g. centOS 7]
  • Nextcloud version: 20
  • Bookmarks app version: 4.0.5

Debug log (shortened)
`
2021-01-10T10:49:42.415Z Starting sync process for account ocean@x
2021-01-10T10:49:43.027Z Using slave strategy
2021-01-10T10:49:43.628Z Overriding title of built-in node 1 Bookmarks bar => Bookmarks Bar
2021-01-10T10:49:43.631Z Overriding title of built-in node 2 Other bookmarks => Other Bookmarks
2021-01-10T10:49:44.777Z Loading sparse tree as necessary
2021-01-10T10:49:44.825Z LOADCHILDREN + #188[private] parentId: undefined, hash: d99690856aee41dc18dc5ea2ff2edac4a148bae166c4b179ab81721fb53f6b61

   2021-01-10T10:49:45.458Z LOADCHILDREN     + #189[Other Bookmarks] parentId: 188, hash: f113983a5499c729bf1f64d8ea3995b2aa5a95d51c9919020492b0fb3ae8108f

  2021-01-10T10:49:45.462Z LOADCHILDREN     + #190[Bookmarks Bar] parentId: 188, hash: b4d6290cac59d67e409d89649124542c30fe4545df13ba448c8fba56e528a548


  - #627;190[Red Hot Chili Peppers LIVE Reading Festival 2016 BBC FULL CONCERT - YouTube](https://www.youtube.com/watch?v=1_HkEMasarg) parentId: 190
  + #193[nas] parentId: 190, hash: e85c30454cb88f729be1ef21c9db2d43fa8789c51f0c5ac26f4a66f204a5785b

  + #196[bank] parentId: 190, hash: 7f26ea4338271ac61e9da8ebd5aab442a83d3364eba9bfbc8c881f3cd0761e46

  + #197[music] parentId: 190, hash: 98158e09d82f58e8ba2af32ed7fedf56b34aab242e100574e415032d926cac0b

  - #629;190[x](http://www.x.de/) parentId: 190
  - #630;190[Genialer Spickzettel f眉r Fotografen als kostenloser Download | Fotoblog Hamburg](http://blog.hamburger-fotospots.de/genialer-spickzettel-fuer-fotografen-als-kostenloser-download/) parentId: 190
  + #198[Website check] parentId: 190, hash: 397e6835cc769d78f52298ea32055172382ea82b43147a724e3bdd04e7660786

  + #199[dusche ausbessern] parentId: 190, hash: bfb0a99868d80d8d0bcb4560280345b89aa4690dec66e5901b0039abee94fe2b

  - #636;190[B450 I AORUS PRO WIFI (rev. 1.0) | Motherboard - GIGABYTE Global](https://www.gigabyte.com/Motherboard/B450-I-AORUS-PRO-WIFI-rev-10/support#support-doc) parentId: 190
  + #200[Imported] parentId: 190, hash: c38d31e0e3b75cf7ee2097088d22e00bcdd71dbf32a3846eb2c0a2f2fcf9a209

  + #204[ref] parentId: 190, hash: bdbbe25a02497b9139735c8a9e85d85d3fb635e0f9ba96a835e813458d076d85

  + #205[scrum master] parentId: 190, hash: c10b65e4f3f12b3178563b1fd93c7e180035601f2cdf7e039215d042da9ca80e

  + #209[Floccus ([email protected])] parentId: 190, hash: fcebae8fb6c59edc97c2a82f47fb67dac0d5546e2ae825734d535600ad0864c4

2021-01-10T10:49:45.471Z Syncing failed with Cannot read property 'type' of undefined`

bug

Most helpful comment

Should be fixed with the next update, thanks to 217d7ab

>All comments

Should be fixed with the next update, thanks to 217d7ab

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jochen-01 picture jochen-01  路  4Comments

ozboss picture ozboss  路  3Comments

thd6n75 picture thd6n75  路  5Comments

marcelklehr picture marcelklehr  路  5Comments

enoch85 picture enoch85  路  7Comments