Defect #113

add_issue_category from Project controller silently can failed

Added by Thomas Lecavelier almost 14 years ago. Updated almost 14 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Affected version:

Description

Hi,

The add_issue_category method (Controller project) silently fail when the new category name (from "promptToRemote")
is > 30 char.

I expect a flash notice saying me that the new category name should have between 1 and 30 characters.

Problem located around: /app/controllers/projects_controller.rb line 148

History

#1 Updated by Jean-Philippe Lang almost 14 years ago

Fixed in r756.
validates_length_of :name was missing.

Also available in: Atom PDF