Custom collections don't sync

Description of the bug
Custom collections are not synced. After logging out and in again, custom collections are gone. This issue is reproduceable at this point. However, the very first two collections did sync.

App & Version
Android v3.1

Steps to reproduce
Create an arbitrary custom collection. Log out. Log in again. Gone.

1 Like

Hi @freisatz,

Thanks for the report, we will look into this asap :slight_smile:

1 Like

I’m having the same issue. Also tried logging out/in, The collections I created were gone. I set them up again and they still don’t sync.

It says it’s stuck with 1 item trying to sync:

Thanks for the reports! If anyone that is having issues with collections wouldn’t mind sharing the details of the collection that isn’t syncing, please let us know. Generally the backend should be storing everything, but custom collections are sufficiently complex that there might be some validation errors that are breaking things for certain collections.

None of mine are syncing - there’s 3 of them that all were created in the same way from an existing view. They’re all basd on having a tag. Two of them also include having a specific parent note.

Very strange! I’m struggling to reproduce at the moment. Would you mind sending the filter data (either as a screenshot or just copy-pasting the JSON) of all the collections that aren’t syncing? You can do here or via the in-app messenger, whichever you prefer.

Sure, here’s an example. I guess it didn’t include the parent card I had in my view when I added it. I’ll have to manually add that in. But either way, the issue I posted about was with the syncing.

{
“type”: “group”,
“op”: “and”,
“filters”: [
{
“name”: “Invisible”,
“type”: “visibility”,
“op”: “equals”,
“arg”: -1,
“inv”: true
},
{
“name”: “Archived in Parent”,
“type”: “archived_parent_ids”,
“op”: “contains”,
“arg”: “4ab05e69-5aac-4634-a38d-3acba470da36”,
“inv”: true
},
{
“name”: “Top”,
“type”: “tag”,
“op”: “contains”,
“arg”: “Top”,
“case_sensitive”: true,
“enabled”: false,
“id”: “tag:contains:Top”
}
]
}

1 Like

I figured the issue appears to happen only for those collections that have been created by “create from current filters”, disregarding of the actual contents of those filters.

When I examine the collection’s JSON, this reveals that there is an issue with the schema.

This is hopefully a cue for what’s going on.

2 Likes

Ah yes, that helps immensely. Thank you for the investigative work. We will get this fixed ASAP.

We have gone ahead and pushed an update to our servers that should allow collections like these to sync properly.

We will also be fixing this in the frontend in 3.1.1 so that extraneous properties are not added to your collection filters.

Thanks for your patience!

3 Likes

I hate to revive this thread but I am experiencing the same error when trying to save a collections by click a tag and saving the filter as collection

Hey @geop0p3, we’re unable to replicate that as stated. Would you be able to share the collection that isn’t syncing?

I cant even see the collections settings

Hi @geop0p3,

Looks like you might be running an old version of the desktop app, are you on 3.1.9? You can check in the help menu. Otherwise a simple log out and then back in should fix the issue. Let us know how you get on.

I am running 3.1.9. the screenshot is from my Android tablet. In any other device I have I can’t see the collection.

Edit- I logged out and in, now my collection is lost :frowning_face:

Ah yes you’re totally right, somehow I completely missed the Android titlebar and was focused on the error.

Sorry to hear that your new collection didn’t save, but glad to hear everything is working as intended now, if you try to recreate it again does it work? If you have any reproduction steps to recreate the error above that would be really helpful for us to see what went wrong.

1 Like