Bug 381753

Summary: Internal Server Error when sorting by votes
Product: [Websites] bugs.kde.org Reporter: Tristan Miller <psychonaut>
Component: generalAssignee: KDE sysadmins <sysadmin>
Status: RESOLVED FIXED    
Severity: crash CC: sheedy
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tristan Miller 2017-06-28 09:36:51 UTC
Attempting to sort a bug search results page by the Votes column results in an Internal Server Error.  The problem doesn't occur when attempting to sort by any other column (at least among the ones I've tested).

Steps to reproduce:
1. Go to <https://bugs.kde.org/query.cgi> and run an Advanced Search.  For example, <https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED&chfield=[Bug%20creation]&chfieldfrom=2016-08-15&chfieldto=Now&product=kmail2&product=kontact&query_format=advanced&votes=1&votes_type=greaterthaneq>
2. Click on the header of the "Votes" column to sort the results by number of votes.  (If this column doesn't appear, then use the "Change columns" button at the bottom of the page to add it first.)

Observed behaviour:
3. A page with the following message appears:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at sysadmin@kde.org to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache/2.4.7 (Ubuntu) Server at bugs.kde.org Port 443
Comment 1 Frédéric Sheedy 2017-06-30 03:18:19 UTC
Confirmed.
Thanks for the good description.
Comment 2 Christophe Marin 2019-01-02 15:46:32 UTC
Seems to work now.
Comment 3 Ben Cooksley 2019-01-02 19:14:38 UTC
This bug was resolved when https://phabricator.kde.org/T9680 was reported.

The commit that fixed this was http://commits.kde.org/websites/bugs-kde-org/e14ce68805a1cf332deab093839add4599158ff8