Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9
-
Component/s: Quality Profile
-
Labels:None
-
Number of attachments :
Description
An error 500 is returned :
ActiveRecord::StatementInvalid in ProfilesController#create ActiveRecord::ActiveRecordError: ERROR: value too long for type character varying(40): INSERT INTO "rules_profiles" ("name", "default_profile", "provided", "language") VALUES('SONAR-787-checkstyle-SuppressionCommentFilter', 'f', 'f', 'java')
The error should be catched and replaced by a message. The field size should be also increased to 100. 40 is too short.