Project

General

Profile

Actions

Defect #113

closed

add_issue_category from Project controller silently can failed

Added by Thomas Lecavelier about 17 years ago. Updated about 17 years ago.

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

0%

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

Actions #1

Updated by Jean-Philippe Lang about 17 years ago

Fixed in r756.
validates_length_of :name was missing.

Actions

Also available in: Atom PDF