Closed
Bug 524793
Opened 15 years ago
Closed 15 years ago
Solved topics show up when "Unsolved" filter is chosen
Categories
(support.mozilla.org :: Forum, task)
support.mozilla.org
Forum
Tracking
(Not tracked)
VERIFIED
FIXED
1.5
People
(Reporter: stephend, Assigned: paulc)
References
()
Details
(Whiteboard: sumo_only)
Attachments
(2 files)
695.73 KB,
image/png
|
Details | |
1.22 KB,
patch
|
jsocol
:
review+
|
Details | Diff | Splinter Review |
STR: 1. Load the Firefox forum: https://support-stage.mozilla.org/en-US/forum/1 2. Click on "Show: Unsolved Topics" (https://support-stage.mozilla.org/en-US/forum/1?thread_sort_mode=lastPost_desc&issue_solved=unsolved) 3. Look at the "Type" column's icon Expected Results: There should be no "Solved" threads present Actual Results: There are a few "Solved" threads, indicated by the green checkmark and their status
Reporter | ||
Comment 1•15 years ago
|
||
Assignee | ||
Comment 2•15 years ago
|
||
Hmm... I wonder if I regressed this with the sorting headers bug :)
Assignee: nobody → paulc
Assignee | ||
Comment 3•15 years ago
|
||
This happens when solving a thread by editing and setting status to "solved", which implies that there is no "solved" child for that thread. As soon as there is a "solved" child, however, the thread is no longer listed. I'm not sure how to fix it without seriously impacting performance. Maybe we can live with it?
Assignee | ||
Comment 4•15 years ago
|
||
Oops. Nevermind. I think it actually shows if the *last child* isn't solved. James, the filtering happens at commentslib.php:844 Maybe you can take a look, see if you have some ideas?
Updated•15 years ago
|
Assignee: paulc → james
Updated•15 years ago
|
Target Milestone: 1.4.2 → 1.5
Updated•15 years ago
|
Assignee: james → paulc
Assignee | ||
Comment 5•15 years ago
|
||
I figured it out. This fix should be acceptable and should cover the following case: A thread is marked as solved, but none if its children are. Solution: filter out solved threads *again*, by the parent post. Hope there aren't any other exceptions now.
Attachment #412366 -
Flags: review?(james)
Comment 6•15 years ago
|
||
Comment on attachment 412366 [details] [diff] [review] v1 WFM.
Attachment #412366 -
Flags: review?(james) → review+
Assignee | ||
Comment 7•15 years ago
|
||
r56280
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•15 years ago
|
||
Verified FIXED on https://support-stage.mozilla.org/en-US/forum/1?thread_sort_mode=lastPost_desc&issue_solved=unsolved; nice!
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•