[GH-ISSUE #197] Invalid Bookmark error on first sync #188

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

Originally created by @chhinze on GitHub (Nov 19, 2018).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/197

Software versions

  • Browser: Firefox 63.0.3 (64-Bit), Firefox sync is turned off
  • Nextcloud: 14.0.3 stable
  • Nextcloud Bookmarks app: 0.14.2
  • Floccus: 3.1.6

Steps to reproduce

  1. install Floccus from Firefox addons store
  2. connect with Nextcloud server
  3. set local folder to /Weitere Lesezeichen/Nextcloud (which is newly created and empty)
  4. Click on sync now
  5. Sync fails with error message

grafik

Expected outcome

Syncing works.

Actual outcome

syncing fails with the error message above. Further, the message from the debug logs states

COMPARE { localItem: 
     + #vMqoau13dvmy[Nextcloud] parentId: undefined
   ,
  cacheItem: 
     + #undefined[undefined] parentId: undefined
   ,
  serverItem: 
     + #-1[undefined] parentId: undefined

[...]

Checking subtree
COMPARE { localItem: null,
  cacheItem: null,
  serverItem:   - #2;-1[Getting started with microservices and kubernetes](http://Getting started with microservices and kubernetes - https://medium.com/p/getting-started-with-microservices-and-kubernetes-76354312b556) parentId: -1 }
(local)CREATE     - #undefined[Getting started with microservices and kubernetes](http://Getting started with microservices and kubernetes - https://medium.com/p/getting-started-with-microservices-and-kubernetes-76354312b556) parentId: vMqoau13dvmy
Originally created by @chhinze on GitHub (Nov 19, 2018). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/197 <!-- 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: Firefox 63.0.3 (64-Bit), Firefox sync is turned off * Nextcloud: 14.0.3 stable * Nextcloud Bookmarks app: 0.14.2 * Floccus: 3.1.6 ### Steps to reproduce <!-- What did you do? Be as specific as possible --> 1. install Floccus from Firefox addons store 2. connect with Nextcloud server 3. set local folder to `/Weitere Lesezeichen/Nextcloud` (which is newly created and empty) 4. Click on `sync now` 5. Sync fails with error message ![grafik](https://user-images.githubusercontent.com/7983306/48734934-d01e2780-ecab-11e8-9d52-debd943d66e6.png) ### Expected outcome <!-- What did you think was going to happen or what do you think should have happened? --> Syncing works. ### Actual outcome <!-- What actually happened after you did the above steps? --> syncing fails with the error message above. Further, the message from the debug logs states ``` COMPARE { localItem: + #vMqoau13dvmy[Nextcloud] parentId: undefined , cacheItem: + #undefined[undefined] parentId: undefined , serverItem: + #-1[undefined] parentId: undefined [...] Checking subtree COMPARE { localItem: null, cacheItem: null, serverItem: - #2;-1[Getting started with microservices and kubernetes](http://Getting started with microservices and kubernetes - https://medium.com/p/getting-started-with-microservices-and-kubernetes-76354312b556) parentId: -1 } (local)CREATE - #undefined[Getting started with microservices and kubernetes](http://Getting started with microservices and kubernetes - https://medium.com/p/getting-started-with-microservices-and-kubernetes-76354312b556) parentId: vMqoau13dvmy ``` <!-- Thanks! Now, hit Submit and wait for a reply :) -->
Author
Owner

@marcelklehr commented on GitHub (Nov 21, 2018):

Mmmh. Did you import those bookmarks on the server? The URL is not valid. Does it help to change the bookmark URL on the server? Thanks for the detailed report, btw!

<!-- gh-comment-id:440669914 --> @marcelklehr commented on GitHub (Nov 21, 2018): Mmmh. Did you import those bookmarks on the server? The URL is not valid. Does it help to change the bookmark URL on the server? Thanks for the detailed report, btw!
Author
Owner

@chhinze commented on GitHub (Nov 21, 2018):

Yes, you are right. The problem is the URL not being valid. It was created with the android app, which weirdly allows me to upload such URLs. Thank you very much for the helpful answer.

<!-- gh-comment-id:440808257 --> @chhinze commented on GitHub (Nov 21, 2018): Yes, you are right. The problem is the URL not being valid. It was created with the android app, which weirdly allows me to upload such URLs. Thank you very much for the helpful answer.
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:1477571339 --> @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#188
No description provided.