Defect #1013
openCustom queries can be saved under same name
0%
Description
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
Related issues
Updated by Thomas Lecavelier over 16 years ago
- should be a feature request (damn, that's the day!)
- I agree with your point.
Updated by Daniel Felix almost 12 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!