-
Type: Sub-task
-
Status: Closed (View Workflow)
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 0.20 Larks
-
Fix Version/s: 0.20 Larks
-
Labels:
-
Environment:
How to check:
Try to open any topic where the title is less than 5 symbol (e.g. any FAQ)
Select *
from TOPIC
where LENGTH(title) <5;
/* 0 rows affected, 125 rows found. Duration for 1 query: 0,109 sec. */
Expected result:
Topic can be viewed by users
Data Example:
http://javatalks.jtalks.org/jcommune/topics/1627
Exception from jcommune-application.log (full text attached):
2012-09-20 16:36:05,295 [WARN ][http-8106-19 ][ ..jcommune] - Handler execution resulted in exception
javax.validation.ConstraintViolationException: Validation failed for classes [org.jtalks.jcommune.model.entity.Topic] during update time for groups [javax.validation.groups.Default, ]
List of constraint violations:[
ConstraintViolationImpl{interpolatedMessage='Размер должен быть между 5 и 120', propertyPath=title, rootBeanClass=class org.jtalks.jcommune.model.entity.Topic, messageTemplate='
'}
]