[GH-ISSUE #547] Cannot read property 'filter' of undefined #381

Closed
opened 2026-02-25 22:36:58 +03:00 by kerem · 9 comments
Owner

Originally created by @joshcsullivan on GitHub (Jun 3, 2020).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/547

Describe the bug
I stupidly updated NC Bookmarks to 3.1.0 without checking how long it's been out (~2 hours), and floccus immediately came up with this error in Brave (Chromium): Cannot read property 'filter' of undefined. Firefox (which uses another server folder) comes back with: this.children is undefined. I've tried removing the account, removing the local bookmarks and setting sync up again, but still having the same issue.

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to NC Bookmarks 3.1.0
  2. Either force sync or wait for floccus to sync, and it will come back with an error.

Expected behavior
floccus syncs local changes to NC Bookmarks.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Windows Enterprise 1909
  • Browser: Brave (Chromium)
  • Browser Version:Version 1.9.76 Chromium: 81.0.4044.138 (Official Build) (64-bit)
  • Floccus version: 4.1.0
  • Floccus sync method: NextCloud Folders

Server (please complete the following information):

  • OS: Ubuntu 18.04.4 LTS
  • Nextcloud version: 18.0.4
  • Bookmarks app version: 3.1.0

Note: Please write down the actual version numbers instead of writing 'latest'.

Debug log
It is often useful to provide a debug log file along with the issue. You can obtain a debug log of the most recent sync runs by clicking 'Debug log' in the bottom right corner of the floccus panel in your browser.

Note: As your debug log usually contains large parts of your bookmark data, instead of attaching it publicly to the issue here, I recommend uploading it privately at the following URL https://klehranlage.net/index.php/s/7nn82NSBsfQKdsJ

  • Debug log provided
    File Name: GitHub_Issue-547_floccus-4.1.0-2020-06-03

Additional context
I also use nextBookmark on iOS, and it is syncing correctly, just as a point of reference that NextCloud sync is still working.

Cheers,
Josh

Originally created by @joshcsullivan on GitHub (Jun 3, 2020). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/547 **Describe the bug** I stupidly updated NC Bookmarks to 3.1.0 without checking how long it's been out (~2 hours), and floccus immediately came up with this error in Brave (Chromium): `Cannot read property 'filter' of undefined`. Firefox (which uses another server folder) comes back with: `this.children is undefined`. I've tried removing the account, removing the local bookmarks and setting sync up again, but still having the same issue. **To Reproduce** Steps to reproduce the behavior: 1. Upgrade to NC Bookmarks 3.1.0 2. Either force sync or wait for floccus to sync, and it will come back with an error. **Expected behavior** floccus syncs local changes to NC Bookmarks. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/5774100/83634696-f2ffec00-a570-11ea-946c-c690e4f71869.png) **Desktop (please complete the following information):** - OS: Windows Enterprise 1909 - Browser: Brave (Chromium) - Browser Version:Version 1.9.76 Chromium: 81.0.4044.138 (Official Build) (64-bit) - Floccus version: 4.1.0 - Floccus sync method: NextCloud Folders **Server (please complete the following information):** - OS: Ubuntu 18.04.4 LTS - Nextcloud version: 18.0.4 - Bookmarks app version: 3.1.0 Note: Please write down the actual version numbers instead of writing 'latest'. **Debug log** It is often useful to provide a debug log file along with the issue. You can obtain a debug log of the most recent sync runs by clicking 'Debug log' in the bottom right corner of the floccus panel in your browser. Note: As your debug log usually contains large parts of your bookmark data, instead of attaching it publicly to the issue here, I recommend uploading it privately at the following URL https://klehranlage.net/index.php/s/7nn82NSBsfQKdsJ - [X] Debug log provided File Name: `GitHub_Issue-547_floccus-4.1.0-2020-06-03` **Additional context** I also use [nextBookmark](https://gitlab.com/altepizza/nextbookmark) on iOS, and it is syncing correctly, just as a point of reference that NextCloud sync is still working. Cheers, Josh
kerem 2026-02-25 22:36:58 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@crh0831 commented on GitHub (Jun 3, 2020):

Same. Nothing new to contribute except that it's affecting me the exact same way. It appears the update to Nextcloud Bookmarks 3.1.0 is the casue.

<!-- gh-comment-id:638158496 --> @crh0831 commented on GitHub (Jun 3, 2020): Same. Nothing new to contribute except that it's affecting me the exact same way. It appears the update to Nextcloud Bookmarks 3.1.0 is the casue.
Author
Owner

@marcelklehr commented on GitHub (Jun 3, 2020):

Yep. v3.1.1 is out already. Update the bookmarks app to get the fix :)

<!-- gh-comment-id:638162078 --> @marcelklehr commented on GitHub (Jun 3, 2020): Yep. v3.1.1 is out already. Update the bookmarks app to get the fix :)
Author
Owner

@marcelklehr commented on GitHub (Jun 3, 2020):

It's a double bug. A bug in nextcloud bookmarks caused a bug in floccus 🙀

<!-- gh-comment-id:638162484 --> @marcelklehr commented on GitHub (Jun 3, 2020): It's a double bug. A bug in nextcloud bookmarks caused a bug in floccus :scream_cat:
Author
Owner

@Erebus999 commented on GitHub (Jun 3, 2020):

Same here

<!-- gh-comment-id:638188058 --> @Erebus999 commented on GitHub (Jun 3, 2020): Same here
Author
Owner

@crh0831 commented on GitHub (Jun 3, 2020):

Maybe I'm doing this wrong, but since I haven't receive the notification to install the Nextcloud Bookmarks update I looked to see if I could manually install the fix. The diff between 3.1.0 and 3.1.1 (other than version numbers) is one character on one line.

See https://github.com/nextcloud/bookmarks/compare/v3.1.0...v3.1.1

I made the change on line 665 (per the diff file) and restarted apache, but floccus still isn't working.

Again, maybe I did the patch wrong (I only changed line 665).

Anyone know how to force Nextcloud to look for app updates?

<!-- gh-comment-id:638259203 --> @crh0831 commented on GitHub (Jun 3, 2020): Maybe I'm doing this wrong, but since I haven't receive the notification to install the **Nextcloud Bookmarks** update I looked to see if I could manually install the fix. The diff between 3.1.0 and 3.1.1 (other than version numbers) is one character on one line. See https://github.com/nextcloud/bookmarks/compare/v3.1.0...v3.1.1 I made the change on line 665 (per the diff file) and restarted apache, but floccus still isn't working. Again, maybe I did the patch wrong (I only changed line 665). Anyone know how to force Nextcloud to look for app updates?
Author
Owner

@marcelklehr commented on GitHub (Jun 3, 2020):

The floccus update of today definitely fixes the client-side bug, so until the bookmarks update reaches you, an update of floccus should take care of things.

<!-- gh-comment-id:638314753 --> @marcelklehr commented on GitHub (Jun 3, 2020): The floccus update of today definitely fixes the client-side bug, so until the bookmarks update reaches you, an update of floccus should take care of things.
Author
Owner

@joshcsullivan commented on GitHub (Jun 3, 2020):

The new Firefox extension update 4.2.0, it started working immediately, without the 3.1.1 NC Bookmarks update yet.

No new Chrome Extension of yet, so waiting patiently.

Thanks for the quick turn around!

<!-- gh-comment-id:638332119 --> @joshcsullivan commented on GitHub (Jun 3, 2020): The new Firefox extension update 4.2.0, it started working immediately, without the 3.1.1 NC Bookmarks update yet. No new Chrome Extension of yet, so waiting patiently. Thanks for the quick turn around!
Author
Owner

@Erebus999 commented on GitHub (Jun 4, 2020):

@crh0831
THX
Edit line line 665 and its works.

<!-- gh-comment-id:638674513 --> @Erebus999 commented on GitHub (Jun 4, 2020): @crh0831 THX Edit line line 665 and its works.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 21, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1477198177 --> @github-actions[bot] commented on GitHub (Mar 21, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#381
No description provided.