Bug 458116

Summary: Articles spilling from one feed to another
Product: [Frameworks and Libraries] frameworks-kio Reporter: clompi
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: major CC: 8an, alexey+kde, andreas.hencke, ct.gsk, danielroschka, get.sonic, heiko.becker, inguin, jrforum, kde, kdelibs-bugs, krazykath, luigi.toscano, m4rkusxxl, nicola.chiapolini, philippe.roubach, scottn, sinister.ray, swisscarbon, thomas.rahimi, tncs
Priority: NOR    
Version: 5.100.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=463755
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The "Max Fosh" feed has articles from the "Chris Titus Tech" feed, which is in another folder (the "Chris Titus Tech" feed does not have those).
attachment-31446-0.html
Check that URL in fetched data matches originating feed

Description clompi 2022-08-20 21:47:22 UTC
Created attachment 151461 [details]
The "Max Fosh" feed has articles from the "Chris Titus Tech" feed, which is in another folder (the "Chris Titus Tech" feed does not have those).

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
Add multiple YouTube RSS feeds in different folders.

OBSERVED RESULT
Feeds "spill" into each other. Articles from one feed appear in the other.

EXPECTED RESULT
Spilling shouldn't occur.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.18.17-200.fc36.x86_64 (64-bit)
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
The problem happened randomly when I started Akregator, not after adding a new feed or performing any sort of management action inside the program.
Comment 1 Adam Brightmore 2022-08-21 19:12:24 UTC
Also experiencing this with version 22.04.3, tried downgrading to 22.04.2 still happened. Exported all my feeds, moved akregator configs & files in .config and .local/share. Started akregator and it seemed like a clean slate so I deleted the default feeds and re-imported my old feeds. Seemed okay for awhile, but eventually it started happening again. And it's not just youtube feeds, random blogs and podcast feeds also show up in youtube feeds and vice versa. Gonna try downgrading further (to oldest one that will still run) and see if that fixes it, will report back.

Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.2-zen1-1-zen (64-bit)
Graphics Platform: X11
Comment 2 Daniel Roschka 2022-08-21 20:00:27 UTC
Same happens here. This bug appeared right after upgrading KDE Frameworks from 5.96.0 to 5.97.0.
Comment 3 Adam Brightmore 2022-08-21 23:39:26 UTC
Okay the oldest version that would work without downgrading other packages was 5.20.0 (22.04.0) which is still KDE Frameworks 5.97.0 based. The issue still persisted in that version so now I'm trying the flatpak version which is Version 5.21.0 (22.08.0) and also uses KDE Frameworks Version 5.97.0 & Qt Version 5.15.5 (built against 5.15.5). After using the flatpak version for about 2h40m the bug hasn't happened yet so this could be a temporary workaround for those affected till this is fixed
Comment 4 Daniel Roschka 2022-08-23 05:16:04 UTC
Downgrading just KDE Frameworks from 5.97.0 to 5.96.0 did fix the issue for me.

Here is the software I'm running now, which doesn't exhibit this bug:

Operating System: Debian/sid
Akregator Version: 22.04.3
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.4
Graphics Platform: X11
Comment 5 Colin J Thomson 2022-08-23 18:50:56 UTC
FWIW I have also seen this with akregator-22.08, but from the previous comments it could be a frameworks issue..

Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.18.19-200.fc36.x86_64 (64-bit)
Graphics Platform: X11
KDE Gear 22.08
Comment 6 Tano Cso 2022-08-25 17:02:37 UTC
Happened to me too and I noticed a pattern that when feeds mix as a result of this bug, the original feed that spills into a foreign feed also fails with an errorr "could not fetch feed: could not read feed (invalid xml)".

Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 7 Colin J Thomson 2022-08-31 12:16:13 UTC
*** Bug 458541 has been marked as a duplicate of this bug. ***
Comment 8 Pierre Choffet 2022-09-01 22:26:36 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 Heiko Becker 2022-09-07 07:51:02 UTC
I lack a way to reliably reproduce this and so I may speak too early, but I did not see any mixed up feeds since I have been using a kio with [1] included, which will be in 5.98.0.

[1] https://invent.kde.org/frameworks/kio/-/commit/a9c3fc3caf8ff5e57f0dec81265911529f7c8b50
Comment 10 Philippe ROUBACH 2022-09-07 07:57:50 UTC
Each time I get the problem it's after a crash of akregator.
The problem disappears by itself after about 2 mn. I assume the cause of disappearing is the foolish date of the items.
Comment 11 Jeroen 2022-09-09 21:02:11 UTC
I'm currently experiencing the same issue on KDE Neon. It happens at seemingly random times, and not just after a crash or anything.
Comment 12 Jeroen 2022-09-09 21:03:04 UTC
*** Bug 458912 has been marked as a duplicate of this bug. ***
Comment 13 Jeroen 2022-09-09 21:03:43 UTC
*** Bug 458757 has been marked as a duplicate of this bug. ***
Comment 14 Colin J Thomson 2022-09-12 21:55:46 UTC
I'll tentatively say with today's update of Frameworks to 5.98 from zawertun's COPR this has fixed it for me on this Fedora 36 box.
Comment 15 Andreas Hencke 2022-09-13 16:55:54 UTC
(In reply to Colin J Thomson from comment #14)
> I'll tentatively say with today's update of Frameworks to 5.98 from
> zawertun's COPR this has fixed it for me on this Fedora 36 box.

Seemed to be fixed with the Frameworks update on my arch machine.
Comment 16 Adam Brightmore 2022-09-13 19:41:37 UTC
(In reply to Andreas Hencke from comment #15)
> (In reply to Colin J Thomson from comment #14)
> > I'll tentatively say with today's update of Frameworks to 5.98 from
> > zawertun's COPR this has fixed it for me on this Fedora 36 box.
> 
> Seemed to be fixed with the Frameworks update on my arch machine.

Can also confirm seems to be fixed. I'd been using the flatpak version till this morning when I updated Arch and switched back (exported/imported feeds and copied my archive .mk4 files), haven't had any issues all day now.
Comment 17 Christophe Marin 2022-10-03 15:47:55 UTC
*** Bug 458965 has been marked as a duplicate of this bug. ***
Comment 18 Christophe Marin 2022-10-03 15:49:16 UTC
It's not fixed in current git master branch. Content apparently gets mixed when a feed is unreachable
Comment 19 Heiko Becker 2022-10-07 12:50:50 UTC
(In reply to Christophe Giboudeaux from comment #18)
> It's not fixed in current git master branch. Content apparently gets mixed
> when a feed is unreachable

It was with 5.98.0, but I am indeed seeing the same problems again with 5.99.0.
Comment 20 Colin J Thomson 2022-10-10 17:57:50 UTC
Confirmed it is happening again after the update to 5.99, frameworks 5.98 was fine.
Comment 21 Andreas Hencke 2022-10-11 20:15:49 UTC
(In reply to Colin J Thomson from comment #20)
> Confirmed it is happening again after the update to 5.99, frameworks 5.98
> was fine.

Yes, received the update to 5.99 today and straight afterwards it happens again! Anoying.
Comment 22 Adam Brightmore 2022-10-13 11:40:27 UTC
Yep can confirm it has started happening again after updating, back to the flatpak version once more. :(
Comment 23 Philippe ROUBACH 2022-10-13 11:43:40 UTC
(In reply to Adam Brightmore from comment #22)
> Yep can confirm it has started happening again after updating, back to the
> flatpak version once more. :(

Hello

Is flatpack version well included in Kontact or separated ?

thanks
Comment 24 Adam Brightmore 2022-10-13 15:57:18 UTC
(In reply to Philippe ROUBACH from comment #23)
> (In reply to Adam Brightmore from comment #22)
> > Yep can confirm it has started happening again after updating, back to the
> > flatpak version once more. :(
> 
> Hello
> 
> Is flatpack version well included in Kontact or separated ?
> 
> thanks

I assume you would need to install the flatpak version of Kontact, but I don't use that so I don't know.

Also of note I encountered this issue in the latest version of the flatpak so I've downgraded to the version I was using last time via this command:

sudo flatpak update --commit=9f6169096fcc17ed167fcf8da15e4675438d204ef9035c9f8fb24958be28f02f org.kde.akregator
Comment 25 Philippe ROUBACH 2022-10-15 10:16:00 UTC
(In reply to Adam Brightmore from comment #24)
> (In reply to Philippe ROUBACH from comment #23)
> > (In reply to Adam Brightmore from comment #22)
> > > Yep can confirm it has started happening again after updating, back to the
> > > flatpak version once more. :(
> > 
> > Hello
> > 
> > Is flatpack version well included in Kontact or separated ?
> > 
> > thanks
> 
> I assume you would need to install the flatpak version of Kontact, but I
> don't use that so I don't know.
> 
> Also of note I encountered this issue in the latest version of the flatpak
> so I've downgraded to the version I was using last time via this command:
> 
> sudo flatpak update
> --commit=9f6169096fcc17ed167fcf8da15e4675438d204ef9035c9f8fb24958be28f02f
> org.kde.akregator

I made an experiment. I uninstalled the akregator rpm then installed the flapack version.

akregator is well included in kontact.
Comment 26 Kath 2022-11-06 11:35:08 UTC
I am also facing this problem. Have only recently moved my feeds over to Akregator, and other than this one bug I love it. Would love to see this resolved

Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.5-200.fc36.x86_64 (64-bit)
Graphics Platform: X11
Comment 27 Colin J Thomson 2022-11-07 22:03:11 UTC
I rolled back only the kio packages to 5.98 as a temporary fix/test and I'll tentatively say today has been fine. No 150+ random posts from various feeds in the wrong feed.
Time will tell I guess...
Comment 28 Colin J Thomson 2022-11-12 11:15:48 UTC
(In reply to Colin J Thomson from comment #27)
> I rolled back only the kio packages to 5.98 as a temporary fix/test and I'll
> tentatively say today has been fine. No 150+ random posts from various feeds
> in the wrong feed.
> Time will tell I guess...

Just FYI the downgrade worked for me, tested for 3-4 days with no issues. As a test I updated to kio* 5.99 again and within a few hours the problem arose again. 
Is the fix coming in 5.100 who knows? 
So for now I will stick with kio* 5.98
Comment 29 Scott Newton 2022-11-15 03:08:27 UTC
Created attachment 153756 [details]
attachment-31446-0.html

Tried 5.100 - it does not fix it. Given that this is basically a data corruption 
issue I'm surprised it hasn't been given higher priority.

Thanks

On Sunday, 13 November 2022 12:15:48 AM NZDT Colin J Thomson wrote:
> https://bugs.kde.org/show_bug.cgi?id=458116

> Is the fix coming in 5.100 who knows?
> So for now I will stick with kio* 5.98
Comment 30 Colin J Thomson 2022-11-15 21:20:57 UTC
(In reply to Scott Newton from comment #29)

> Tried 5.100 - it does not fix it. Given that this is basically a data
> corruption 
> issue I'm surprised it hasn't been given higher priority.

Yep, still seeing it in 5.100 as well after about an hour of updating.
I'm wondering if it should be moved to Kio to get more attention as it was briefly fixed in kio as mentioned in comment #9

For the time being I will stick with Kio from 5.98, it is easy just to downgrade the kio* packages to 5.98 and not all of frameworks.
Comment 31 Luigi Toscano 2022-11-16 15:34:11 UTC
I've moved the bug to kio, as it seems to be related to it. Short summary: this akregator issue was first observed with 5.97, disappeared on 5.98, appeared again on 5.99.
Comment 32 Colin J Thomson 2022-12-11 10:45:19 UTC
I'll tentatively say with the latest update of Frameworks to 5.101 from zawertun's COPR this has fixed it for me (hopefully) on this Fedora 37 box.
Comment 33 Philippe ROUBACH 2022-12-12 09:39:50 UTC
It is actually a big problem. I never encountered so much articles at so much wrong feeds.

Operating System: openSUSE Tumbleweed 20221210
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
KDE Gears 22.12.0
Comment 34 Lukáš Turek 2022-12-26 12:05:31 UTC
Created attachment 154828 [details]
Check that URL in fetched data matches originating feed

Akregator became unusable for me because of this bug, so I had to find this workaround. When feed RSS is downloaded, feed link in it is checked with the one that was stored in OPML. If these don't match, the update is ignored, it will hopefully work next time. If feed author ever changes its link in RSS, it will stop updating, but that's quite unlikely.
Comment 35 Colin J Thomson 2022-12-26 13:02:00 UTC
(In reply to Colin J Thomson from comment #32)
> I'll tentatively say with the latest update of Frameworks to 5.101 from
> zawertun's COPR this has fixed it for me (hopefully) on this Fedora 37 box.

Just FYI
Since my above comment I have had Zero issues with any of my feeds of which there are approx 25 of them.
Comment 36 Syam 2022-12-26 16:31:57 UTC
(In reply to Colin J Thomson from comment #35)
I too haven't been seeing this bug for the past few days, on a fully updated Fedora 37. Akregator v5.21.3 (22.08.3), KDE Frameworks v5.101.0
Comment 37 Lukáš Turek 2022-12-26 19:36:40 UTC
Is there a commit that's supposed to fix it, which I could test in isolation? Because the bug seems fairly random, it appeared in 5.97, disappeared in 5.98, returned in 5.99, seems to be fixed in 5.101... For me it happens only on desktop, never on laptop, even though all the software is exactly the same.
Comment 38 Colin J Thomson 2022-12-28 21:42:56 UTC
(In reply to Lukáš Turek from comment #37)
> Is there a commit that's supposed to fix it, which I could test in
> isolation? Because the bug seems fairly random, it appeared in 5.97,
> disappeared in 5.98, returned in 5.99, seems to be fixed in 5.101... 

I could not find anything in the 5.101 change logs, I skimmed over invent.kde but nothing was obvious (too me) I am just a user/tester..

> For me it happens only on desktop, never on laptop, even though all the software is
> exactly the same.

Most puzzling...
Comment 39 Alexey Sokolov 2023-02-18 13:19:08 UTC
mel from https://bugs.kde.org/show_bug.cgi?id=463755 saw this issue on 5.101 too