Author: christian.bauer(a)jboss.com
Date: 2008-10-23 12:19:00 -0400 (Thu, 23 Oct 2008)
New Revision: 9394
Modified:
trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/model/FeedEntry.java
Log:
Fixed maximum length in feed entry body check
Modified: trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/model/FeedEntry.java
===================================================================
--- trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/model/FeedEntry.java 2008-10-23
15:28:46 UTC (rev 9393)
+++ trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/model/FeedEntry.java 2008-10-23
16:19:00 UTC (rev 9394)
@@ -60,7 +60,7 @@
private String descriptionType;
@Column(name = "DESCRIPTION_VALUE", nullable = false)
- @Length(min = 1, max = 32767)
+ @Length(min = 1, max = 131072) // TODO: We don't really know how much we need...
so let's go for 128kb
private String descriptionValue;
public FeedEntry() {}
Show replies by date