Bug 497492

Summary: Feeds that failed to be added are shown as empty items on the feeds directory
Product: [Applications] akregator Reporter: Daniel Hernandez <daniel>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Several empty sources

Description Daniel Hernandez 2024-12-15 10:27:10 UTC
Created attachment 176630 [details]
Several empty sources

SUMMARY

I had introduced the wrong URL in some feeds, and then I failed to create the feeds. Then, I canceled the operation to start again. However, some blank items appear in the feeds' directory tree.

STEPS TO REPRODUCE

1. Add the new source https://mstdn.degu.cl/@daniel and press OK. This is wrong because .rss should be appended.
2. Akregator will try to load it, but will not finish because the URL was wrong. Then, click on CANCEL.
3. Akregator will show the empty source name, the URL, and other fields to be added manually. Then, click on CANCEL again.

OBSERVED RESULT

It generates several empty sources. I cannot select the empty sources, nor delete them.

EXPECTED RESULT

Empty sources should not be created.

SOFTWARE/OS VERSIONS
Linux/Debian Flathub: 6.3.0

ADDITIONAL COMMENT

I saved the OPML file, and I don't see the empty sources, only the ones that are loaded. I close and open Akregator, but the empty feeds are still there.
Comment 1 Daniel Hernandez 2024-12-15 16:48:16 UTC
By moving a folder A into another folder B, the empty elements in A disappear. So, I can use this workaround to clean the sources tree.