Project

General

Profile

Actions

Defect #35062

open

Back URLs with <t+ operator break

Added by Felix Schäfer about 3 years ago. Updated about 2 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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 MAEDA

Actions
Actions #1

Updated by Holger Just almost 3 years ago

  • Related to Patch #35312: Gracefully handle invalid operators and associations requested in queries added
Actions #2

Updated by Go MAEDA about 2 years ago

  • Status changed from New to Confirmed
Actions #3

Updated by Holger Just about 2 years ago

To quote myself from #35312#note-2:

This patch [comitted to trunk in #35312] probably masks the underlying issue in #35062 (by rendering a 404 instead of a 500 there). The root cause of this issue should probably still be checked.

Actions

Also available in: Atom PDF