Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
4
-
Severity 2 - Major
-
0
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? 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
-
JRASERVER-12095 Restrict HSQL summaries to 255 characters to match other databases
- Closed
-
JRASERVER-42165 JIRA Mail Handler field does not accept more than 255 chars
- Gathering Impact
- relates to
-
JRACLOUD-11075 PropertyStrings limited to 255 characters
- Closed