Own posts won't mark a thread or forum as unread

Bug #1694070 reported by GunChleoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
Fix Released
Medium
kaputtnik

Bug Description

When I'm the last person to post to a thread, the thread/forum is marked for me as having new posts.

I have attached a screenshot of 2 "unread" threads where I'm the last person to post.

Revision history for this message
GunChleoc (gunchleoc) wrote :
Revision history for this message
kaputtnik (franku) wrote :

Thanks for the bug report.

I think this is a DB-query issue and will take a look at it.

Changed in widelands-website:
status: New → Triaged
assignee: nobody → kaputtnik (franku)
importance: Undecided → Medium
GunChleoc (gunchleoc)
summary: - Own posts won't mark a tread of forum as unread
+ Own posts won't mark a thread or forum as unread
Revision history for this message
kaputtnik (franku) wrote :

This unread stuff is a bit complicated. I think the described problem was just related to a date comparison at http://bazaar.launchpad.net/~widelands-dev/widelands-website/trunk/view/head:/pybb/templatetags/pybb_extras.py#L133

I've changed the code on the server directly into

return topic.updated <= read.time

so that it returns true also when the time is equal. When testing at home this works fine.

Changed in widelands-website:
status: Triaged → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Thanks! I'll let you know if it should happen again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.