-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Medium
-
None
-
Affects Version/s: None
-
Component/s: Upgrade
-
2
-
Severity 2 - Major
-
This can be a problem when switching from HSQL to MYSQL.
For exmaple, the customfieldvalue table looks like this in MYSQL:
mysql> desc customfieldvalue; +-------------+---------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+---------------+------+-----+---------+-------+ | ID | decimal(18,0) | | PRI | 0 | | | ISSUE | decimal(18,0) | YES | MUL | NULL | | | CUSTOMFIELD | decimal(18,0) | YES | | NULL | | | PARENTKEY | varchar(255) | YES | | NULL | | | STRINGVALUE | varchar(255) | YES | | NULL | | | NUMBERVALUE | decimal(18,6) | YES | | NULL | | | TEXTVALUE | longtext | YES | | NULL | | | DATEVALUE | datetime | YES | | NULL | | | VALUETYPE | varchar(255) | YES | | NULL | | +-------------+---------------+------+-----+---------+-------+ 9 rows in set (0.00 sec) mysql>
where stringvalue is defined as varchar(255). The problem then arises when importing custom field values from a HSQL database because HSQL allows for strings greater than 255.
In HSQL, the field type is defined as:
<field-type-def type="long-varchar" sql-type="VARCHAR" java-type="String"></field-type-def>
in /atlassian-jira/WEB-INF/classes/entitydefs/fieldtype-hsql.xml
whereas in /atlassian-jira/WEB-INF/classes/entitydefs/fieldtype-mysql.xml it is:
<field-type-def type="long-varchar" sql-type="VARCHAR(255)" java-type="String"></field-type-def>
- is blocked by
-
JRASERVER-11845 Maximise list link remains and is useless after clicking it on Create Issue screen
-
- Closed
-
- mentioned in
-
Page Loading...