Details
-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
2
-
Severity 2 - Major
-
Description
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
For some reason, the ofbiz AbstractPropertySet class restricts strings to 255 characters:
public void setString(String key, String value) { if ((value != null) && (value.length() > 255)) { throw new IllegalPropertyException("String exceeds 255 characters."); } ....
So even though JIRA sets this field as unlimited in size in the database, it is artificially restricted in the code.
We should decide if we really need unlimited text here (since obviously no-one has needed it till now). If not, we can speed up db accesses by switching to a VARCHAR(255). If so, we should fix the PropertySet API.
Attachments
Issue Links
- is related to
-
JRACLOUD-42165 JIRA Mail Handler field does not accept more than 255 chars
- Closed
-
JRASERVER-11075 PropertyStrings limited to 255 characters
- Gathering Impact