Skip to content

Import does not have sync enables #2129

@syselement

Description

@syselement

Which version of floccus are you using?

5.8.0

How many bookmarks do you have, roughly?

50

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

WebDAV

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Chrome 143.0.7499.42

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

The WebDAV server is a custom local NextCloud server, and the save of the bookmarks.html file is correctly working.

Describe the Bug

When a profile is exported and then imported, the Auto-sync and time-based sync settings are turned off.

Before exporting
Image

After importing the same exported profile
Image

Expected Behavior

I expect that the export and import to keep all the settings as configured, specially Auto-sync and Time-based sync settings.

To Reproduce

I create a profile with default config, and with Auto-sync and Time-based sync both ENABLED.
Image

I export the profile in its json file that looks like this

[
  {
    "enabled": true,
    "localRoot": "1",
    "strategy": "default",
    "syncInterval": 5,
    "nestedSync": true,
    "failsafe": true,
    "allowNetwork": false,
    "label": "test-label",
    "errorCount": 0,
    "clickCountEnabled": false,
    "type": "webdav",
    "url": "https://local.drive.lab/remote.php/dav/files/username",
    "username": "username",
    "password": "password",
    "bookmark_file": "bookmarks.html",
    "bookmark_file_type": "html",
    "includeCredentials": false,
    "allowRedirects": false,
    "passphrase": "",
    "syncIntervalEnabled": true,
    "syncing": false,
    "scheduled": false,
    "error": null,
    "lastSync": 1765813698357
  }
]

When I import the above json file, both the Auto-sync and Time-based sync are toggled off.

Image

Debug log provided

  • I have provided a debug log file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To Do: Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions