When I try to import an Insight Scheme I get an error message:
rlabs.insight.i18n.constraint.violation.MutableObjectSchemaBean.Pattern.objectSchemaKey
i18nKey='rlabs.insight.i18n.constraint.violation.MutableObjectSchemaBean.Pattern.objectSchemaKey', parameters=[], additionalMessage=null
What is the cause for this message?
We were recently hit by the error message you mention:
rlabs.insight.i18n.constraint.violation.MutableObjectSchemaBean.Pattern.objectSchemaKey
when importing an object schema.
While there may be different causes for the error message above, in our configuration the culprit turned out to be the object schema key: While troubleshooting, we noticed Jira complained the schema key was too long when editing the schema settings. In fact, the key was 10 characters long (within the permitted range), but it contained an "Ä" (A umlaut). We suppose "10 characters" is a misnomer for "10 bytes", and the key exceeded the 10-byte limit because "Ä" is encoded with two bytes using UTF-8.
It seems the schema key being too long prevented the import from working, which is not only surprising but unexpected. because the original key should be irrelevant in the import process, as we get to specify the new schema name and key. Apparently, and for some unknown reason, the import routine checks the original key length.
If you are stuck with a schema key that is too long, proceed as follows to rename it :
It's a shame Atlassian doesn't have any support article mentioning this error message.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.