-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Duplicate entries for some feeds after update of Nextcloud News - use "guidHash" as the only message identifier #358
Comments
Does the number of messages duplicate -> triplicate -> doubles if you hit "download messages" button for the feed several times. Or does it just stays. Think is, Nextcloud News made some changes with how they handle "message ID" numbers. It could happen that after the installation of new News plugin version, you will see some messages TWICE (old message with "old" id and new message with "new" id). You should not in any case see "three" same messages. Also, can you please just test the behavior if you start RSS Guard with clean "data" folder/profile? If the messages still duplicate themselves over several feed updates? |
Anyway, test my above suggestions and let me know if it all worked. |
Thanks for checking! I'll keep an eye on this and see if it keeps happening. If it's just a one-off, I don't mind as much. Was just getting triggered when I saw items appearing for a third time. I tried manually triggering a download, and that doesn't add duplicates, so it doesn't look like items are duplicated on every request. FWIW, I checked the data in sqlite, and this is what I see:
|
@pprkut Wow, perfect answer. Check out the columns "custom_id custom_hash". These are absolutely crucial and their values are returned by News server. They should UNIQUELY identify THE message. In other words, if News returns suddenly different "custom_id", RSS Guard automatically considers the message to be "different". These "custom_id"s are the key source of "uniqueness" when it comes to synchronized services like News, TT-RSS or Inoreader. In other attributes, those messages seem to be identical. So here, we have clear situation because those "custom_id" values are maintained by News server and clearly it is News's fault. Anyway, keep me posted if something interesting appears. EDIT: Also, note that there is quite a mess in News's API about message "ID" as they actually have THREE IDs for each message and honestly, I am quite unsure which one is the real unique ID. Maybe I got that wrong maybe I did not. I will post a bug ticket upstream. |
Thanks! I figured it might be this, but wasn't sure if |
For reference, this is what I see in Nextcloud's DB:
|
@pprkut OK, final resolution from me:
|
Brief description of the issue.
I updated Nextcloud News from 15.1.1 to 15.2.2, and now I'm seeing duplicate items in some feeds in rssguard (but not in the web interface of Nextcloud News).
It doesn't happen for all feeds, having difficulty figuring out the exact behavior. Some items are in there once, some twice and some three times by now (same feed). Other feeds show no such issue.
How to reproduce the bug?
The feed where it happens the worst for me is http://www.heise.de/newsticker/heise-atom.xml, but there's a chance it only affects items before the update of Nextcloud News.
Is there a way I can debug myself what's going on here?
Other information
The text was updated successfully, but these errors were encountered: