Project

General

Profile

Actions

Defect #27153

closed

Custom query breaks calendar view with error 500

Added by Bernhard Rohloff over 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Calendar
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When the custom query includes a second sort criteria the calendar view breaks with an error 500.

Steps to reproduction:

  1. Create a custom query with a second sort criteria
  2. Select the custom query in the calendar view

This results into:

!Screenshot-2017-10-10 500 - Redmine.png!


Files

Screenshot-2017-10-10 500 - Redmine.png (13.7 KB) Screenshot-2017-10-10 500 - Redmine.png Bernhard Rohloff, 2017-10-10 10:43
calendar_error500_production_trunk.log (3.95 KB) calendar_error500_production_trunk.log Bernhard Rohloff, 2017-10-10 15:48
calendar_error500_production_bitnami.log (4.63 KB) calendar_error500_production_bitnami.log Bernhard Rohloff, 2017-10-10 15:48
calendars_order_error_500_quick.diff (557 Bytes) calendars_order_error_500_quick.diff Workaround like in r3379 for sort_criteria Bernhard Rohloff, 2017-10-12 10:50
calendars_order_error_500_cleanup.diff (2.13 KB) calendars_order_error_500_cleanup.diff Removes confusing workarounds in the controllers. Bernhard Rohloff, 2017-10-12 10:50
tests_for_custom_query_breaks_calendar_view.patch (1.1 KB) tests_for_custom_query_breaks_calendar_view.patch Marius BĂLTEANU, 2017-10-16 00:12

Related issues

Has duplicate Redmine - Defect #26544: SQL-Error occurs sometimes when clicking on "calendar" tabClosed

Actions
Actions

Also available in: Atom PDF