Ticket #468 (closed defect: fixed)
1662 - possible error in ajax.php
| Reported by: | reporter | Owned by: | mbonetti |
|---|---|---|---|
| Priority: | normal | Milestone: | Gregarius 0.5.5 |
| Component: | BUGS | Version: | 0.5.5 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
Sync'ed up to svn tip, changeset 1662.
Getting a SQL error thrown when marking feed as read. May need a schema update.
Steps:
Go to a feed, click mark as read button
Expect results:
feed should be marked as read, goes to next unread feed
Can reproduce 100 percent of time
Host info:
Fedora Core 6, Apache 2.2.3, mysql 5.0.21, php 5.1.6
Actual results:
Error is thrown as displayed below:
Failed to execute the SQL query
select cid, count(*) from item where (unread & 1) and not (unread & 8) and not (i.unread & 4) group by cid
Error 1054: Unknown column 'i.unread' in 'where clause'
Do note that feed is actually marked as read (if go back in browser, the feed is no longer 'unread')
