Opened 17 years ago

Closed 17 years ago

#539 closed Defect (fixed)

Bug in forum searches

Reported by: Ageless Owned by: davea
Priority: Minor Milestone: Undetermined
Component: Web - Forums Version:
Keywords: Cc:

Description

When doing an Advanced Search through the forums, choosing not All but a single forum and the keyword search, you'll get a list of threads in which the keyword is shown.

However, in the "Messages matching your query" section, the message ID number at the end of the individual threads found is always the number of the thread.

Examples of such a find on the BOINC Dev forums: http://boinc.berkeley.edu/dev/forum_thread.php?id=2405&nowrap=true#2405 http://boinc.berkeley.edu/dev/forum_thread.php?id=2409&nowrap=true#2409

Reported originally on the BOINC Dev forums

Change History (4)

comment:1 Changed 17 years ago by davea

Resolution: fixed
Status: newclosed

(In [14537]) - web: fix bug there message link not correct in search results; fixes #539

comment:2 Changed 17 years ago by Ageless

Resolution: fixed
Status: closedreopened

Reopening with a new bug, this time a timing bug.

As reported by Richard Haselgrove:
I'd used searching successfully a few minutes earlier, but noticed another bug and was trying to recreate the circumstances! The problem I saw was with the message "Posted [x length of time] ago by...." in the message headers: under some circumstances (tbc), the [x length of time] seems to be the user's most recent post in the thread, rather than the age of the actual message.

Again, it only shows if you restrict the search to a single forum thread. If you search on 'bug' in this forum (Web interfaces), it says that Jord's message #14835 was posted 2 days ago. Seems to show all messages found in a thread as if they were posted at the time of the most recent post in that thread.

Edit - and to confirm the point, it's now telling me that Jord's message was posted 17 seconds ago.

(source: posts 1 and post 2)

I have seen this error earlier on the Pirates forums, I think Eric said at the time that it has to do with the database time table.

comment:3 in reply to:  2 Changed 17 years ago by Richard Haselgrove

Replying to Ageless:

I have seen this error earlier on the Pirates forums, I think Eric said at the time that it has to do with the database time table.

I don't agree with the Eric/Pirates? analysis. As with the previous variant of this bug, it only manifests itself if you restrict the search to one forum: if you search the whole message database, the post ages are reported correctly.

comment:4 Changed 17 years ago by boincadm

Resolution: fixed
Status: reopenedclosed

(In [14603]) - web: fixed extremely minor bug in forum search; fixes #539

Note: See TracTickets for help on using tickets.