Bug 496274

Summary: Feeds with not every details doesn't work
Product: [Applications] Alligator Reporter: Soumyadeep Ghosh <soumyadeepghosh2004>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED NOT A BUG    
Severity: major    
Priority: NOR    
Version First Reported In: 24.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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