[GH-ISSUE #106] Cannot read property 'indexOf' of null #101

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

Originally created by @marrek-az on GitHub (May 24, 2018).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/106

Software versions

  • Browser: Chrome Version 66.0.3359.181 (Official Build) (64-bit)
  • Nextcloud: Nextcloud 13.0.2
  • Nextcloud Bookmarks app: 0.11.0
  • Floccus: 2.2.3

Steps to reproduce

  1. Set up server to sync to https://myserver.mydomain.com:8080 (with valid letsencrypt SSL cert)
  2. Set the options to sync an empty server folder (which exists) to any bookmark folder.

Expected outcome

A successful sync

Actual outcome

Error! Cannot read property 'indexOf' of null

Originally created by @marrek-az on GitHub (May 24, 2018). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/106 <!-- Hello there! Thank you for providing feedback! Please answer the below questions to allow for as smooth a process of tackling the issue as possible :) (Note: Everything surrounded by arrows, like this text for example, will not be visible.) --> ### Software versions <!-- Please provide the versions of the following software products in your set up --> * Browser: Chrome Version 66.0.3359.181 (Official Build) (64-bit) * Nextcloud: Nextcloud 13.0.2 * Nextcloud Bookmarks app: 0.11.0 * Floccus: 2.2.3 ### Steps to reproduce <!-- What did you do? Be as specific as possible --> 1. Set up server to sync to https://myserver.mydomain.com:8080 (with valid letsencrypt SSL cert) 2. Set the options to sync an empty server folder (which exists) to any bookmark folder. ### Expected outcome <!-- What did you think was going to happen or what do you think should have happened? --> A successful sync ### Actual outcome <!-- What actually happened after you did the above steps? --> Error! Cannot read property 'indexOf' of null <!-- Thanks! Now, hit Submit and wait for a reply :) -->
kerem closed this issue 2026-02-25 22:36:08 +03:00
Author
Owner

@marcelklehr commented on GitHub (May 24, 2018):

Hey
Could you clarify exactly what you mean by an existing "empty server folder"? The way floccus handles folders in nextcloud doesn't actually make empty folders possible, afaict.

<!-- gh-comment-id:391781741 --> @marcelklehr commented on GitHub (May 24, 2018): Hey Could you clarify exactly what you mean by an existing "empty server folder"? The way floccus handles folders in nextcloud doesn't actually make empty folders possible, afaict.
Author
Owner

@marrek-az commented on GitHub (May 24, 2018):

Thanks for the clarification. It was unclear to me what "Server path" was for, as distinct from "URL". I created a directory that matched what was there, just to be sure. I also tried leaving that field empty. Same result.

<!-- gh-comment-id:391801164 --> @marrek-az commented on GitHub (May 24, 2018): Thanks for the clarification. It was unclear to me what "Server path" was for, as distinct from "URL". I created a directory that matched what was there, just to be sure. I also tried leaving that field empty. Same result.
Author
Owner

@marcelklehr commented on GitHub (May 26, 2018):

Try updating to v2.2.4 and re-entering your credentials.

<!-- gh-comment-id:392288697 --> @marcelklehr commented on GitHub (May 26, 2018): Try updating to v2.2.4 and re-entering your credentials.
Author
Owner

@marrek-az commented on GitHub (May 28, 2018):

After the update, it appears to work, now. I have a little trouble setting "server path", which I worked around. The example shows something like "/my/folder", but when I started with a "/", the field would reset/clear immediately. Minor issue.

Thanks for the followup.

<!-- gh-comment-id:392568027 --> @marrek-az commented on GitHub (May 28, 2018): After the update, it appears to work, now. I have a little trouble setting "server path", which I worked around. The example shows something like "/my/folder", but when I started with a "/", the field would reset/clear immediately. Minor issue. Thanks for the followup.
Author
Owner

@marcelklehr commented on GitHub (May 28, 2018):

Aah, that's a regression. "/" is illegal, and thus gets reset to "". My bad for removing the timer on that. Glad the rest works, though.

<!-- gh-comment-id:392580260 --> @marcelklehr commented on GitHub (May 28, 2018): Aah, that's a regression. "/" is illegal, and thus gets reset to "". My bad for removing the timer on that. Glad the rest works, though.
Author
Owner

@marcelklehr commented on GitHub (Jun 2, 2018):

closing in favor of https://github.com/marcelklehr/floccus/issues/115

<!-- gh-comment-id:394107459 --> @marcelklehr commented on GitHub (Jun 2, 2018): closing in favor of https://github.com/marcelklehr/floccus/issues/115
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:1478009273 --> @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#101
No description provided.