Project

General

Profile

Actions

Defect #35062

open

Back URLs with <t+ operator break

Added by Felix Schäfer almost 5 years ago. Updated about 4 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Affected version:

Description

This is a problem we noticed but haven't been able to correct yet. Maybe someone else will find a good solution for this.

Steps to reproduce:
- Navigate to the issue list in a project
- Add the filter "Due date" "in less than" "30 days" and apply, this should put the Issue Query in the parameters of the URL of the browser
- Navigate to "Log time" in the + menu
- Enter some data and click "Create" or click "Cancel"

This results in a RuntimeError in IssuesController#index Unknown query operator <t

At some point the <t+ from the Referer URL doesn't get re-encoded properly and the + becomes a space in the URL. This confuses the Query model.


Related issues

Related to Redmine - Patch #35312: Gracefully handle invalid operators and associations requested in queriesClosedGo MAEDAActions
Actions

Also available in: Atom PDF