Project

General

Profile

Actions

Defect #1013

open

Custom queries can be saved under same name

Added by Maxim Krušina almost 16 years ago. Updated over 2 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Issues
Start date:
2008-04-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Then it's really hard to find out what-is-what query.
I think that query name should be unique.
We probably want to allow same name of queries for different users (so user A can have private query with same name as user B), like "My issues".
For uniqueness we shoudl check:
  • In all queries of one users, including global public queries
  • Global public queries

Files

DuplicateReports.png (1.88 KB) DuplicateReports.png Daniel Felix, 2013-01-14 10:51

Related issues

Related to Redmine - Patch #1021: Patch for #1013 (uniqueness-validation of custom query name within user-scope)New2008-04-08

Actions
Related to Redmine - Feature #3180: Add grouping / headings to custom filtersClosed2009-04-15

Actions
Has duplicate Redmine - Defect #5396: duplicate filter name is allowedClosed2010-04-28

Actions
Actions #1

Updated by Thomas Lecavelier almost 16 years ago

  • should be a feature request (damn, that's the day!)
  • I agree with your point.
Actions #2

Updated by Rocco Stanzione almost 16 years ago

Please test my patch from #1021

Actions #3

Updated by Mischa The Evil over 14 years ago

Added relation to issue #3180.

Actions #4

Updated by Daniel Felix about 11 years ago

  • File DuplicateReports.png DuplicateReports.png added
  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release
  • Affected version (unused) set to 2.2.1
  • Affected version set to 2.2.1

This defect is still included in Redmine 2.2.1.
I just verified it.

It should be corrected to the next minor release, as it's very misleading to have reports with the same name.

This could be tricky.
Example:
UserA with ReportA save this report in his personal reports.
UserB adds ReportA (other definition) as a global report. Those doesn't differ from all the other Reports. There must be some type of category to differ those reports and render them in two seperate groups in the sidebar. Or just add some symbol for them (personal and global).

This bug is bigger than expected. The delete of one of the two created reports delete both. It seems that the report is searched by it's name. This could explain why both reports will be dropped!

Actions

Also available in: Atom PDF