Bug 496274 - Feeds with not every details doesn't work
Summary: Feeds with not every details doesn't work
Status: RESOLVED NOT A BUG
Alias: None
Product: Alligator
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.08.2
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-14 17:18 UTC by Soumyadeep Ghosh
Modified: 2024-11-16 07:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Soumyadeep Ghosh 2024-11-14 17:18:41 UTC
SUMMARY
Feed entries not added to database if all the parameters of the feed entries aren't passed

STEPS TO REPRODUCE
1. Add my [feed](https://soumyadghosh.github.io/website/index.xml) in the app
2. Refresh the feed
3. See the error

OBSERVED RESULT
```bash
Starting to fetch "https://soumyadghosh.github.io/website/index.xml"
Updated feed title: "Soumya's Web"
Processing "Ubuntu Summit 2024: A joyful experience filled with sorrow"
Failed to execute SQL Query
"INSERT INTO Entries VALUES (:feed, :id, :title, :content, :created, :updated, :link, :read);"
QSqlError("", "Parameter count mismatch", "")
Processing "GSOC: Week 8 to Week 16"
Failed to execute SQL Query
"INSERT INTO Entries VALUES (:feed, :id, :title, :content, :created, :updated, :link, :read);"
QSqlError("", "Parameter count mismatch", "")
Processing "UbuCon Asia 2024: My first ever conference!"
Failed to execute SQL Query
"INSERT INTO Entries VALUES (:feed, :id, :title, :content, :created, :updated, :link, :read);"
QSqlError("", "Parameter count mismatch", "")
Processing "GSOC: Accident Week!"
Failed to execute SQL Query
"INSERT INTO Entries VALUES (:feed, :id, :title, :content, :created, :updated, :link, :read);"
QSqlError("", "Parameter count mismatch", "")
Processing "GSOC: Week 1 Week 2"
Failed to execute SQL Query
"INSERT INTO Entries VALUES (:feed, :id, :title, :content, :created, :updated, :link, :read);"
QSqlError("", "Parameter count mismatch", "")
Processing "Snapcraft: Adopting appstream metadata"
Failed to execute SQL Query
"INSERT INTO Entries VALUES (:feed, :id, :title, :content, :created, :updated, :link, :read);"
QSqlError("", "Parameter count mismatch", "")
Processing "SSH Keys and KWallet: Getting rid of SSH asking passphrase"
Failed to execute SQL Query
"INSERT INTO Entries VALUES (:feed, :id, :title, :content, :created, :updated, :link, :read);"
QSqlError("", "Parameter count mismatch", "")
```

And none of these got added

EXPECTED RESULT
It should've made some default values and added the entries in the database

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8

ADDITIONAL INFORMATION
NA