Defect #2619

Categories field displays when no categories exist and user can't add new

Added by Brad Beattie over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:2009-01-29
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.8.1
Resolution:Fixed Affected version:

Description

As a user with no access to create new categories, create a new ticket in a project with no categories. The category drop down displays, although no options exist. It probably shouldn't show, much like target version doesn't display when no options are there.


Related issues

Related to Redmine - Feature #12915: Display Category field back again if no categories are de... Closed
Related to Redmine - Feature #18004: Do NOT hide category and version fields on issue form whe... Closed

Associated revisions

Revision 2270
Added by Jean-Philippe Lang almost 9 years ago

Do not show Category field when categories are not defined.

History

#1 Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Resolved
  • Target version set to 0.8.1
  • Resolution set to Fixed

This was fixed in r2270.

#2 Updated by Brad Beattie over 8 years ago

Hrm. This fix hides the ability to add new categories to those that would otherwise have access to do so. :(

#3 Updated by Jean-Philippe Lang over 8 years ago

True, I knewn about that. But it also hides the field for those who do not want to use categories at all.
You can create a first set of categories in project settings then use the shortcut when one is missing.
I think it's pretty fair?

#4 Updated by Brad Beattie over 8 years ago

Jean-Philippe Lang wrote:

True, I knewn about that. But it also hides the field for those who do not want to use categories at all.
You can create a first set of categories in project settings then use the shortcut when one is missing.
I think it's pretty fair?

Yeah, the remaining issue of not being able to initiate categories from the new issue page is certainly of a much lower priority. I'm willing to ignore it for now. ;)

#5 Updated by Axel Voitier over 8 years ago

The empty drop down and the link could still be displayed when the user is authorized to create categories, no?
But that move the remaining minor issue on a new one: when we NEVER want to use categories.

#6 Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from Resolved to Closed

Merged in 0.8 branch in r2425.

#7 Updated by Jean-Philippe Lang about 2 years ago

  • Related to Feature #18004: Do NOT hide category and version fields on issue form when no category or version is configured added

Also available in: Atom PDF