Details
-
Bug
-
Resolution: Fixed
-
High
-
8.5.1, 8.16.0, 8.16.1
-
8.05
-
21
-
Severity 2 - Major
-
44
-
Description
Problem
There is no unique constraint in AO_E8B6CC_REPOSITORY_MAPPING.slug column and hence, however the DVCS code expects a unique value in that specific column. If duplicate values are found in AO_E8B6CC_REPOSITORY_MAPPING then the below error will be written to the atlassian-jira log file.
2020-11-24 22:10:30,938+0000 Caesium-1-4 ERROR ServiceRunner [c.a.scheduler.core.JobLauncher] Scheduled job with ID 'com.atlassian.jira.plugins.dvcs.scheduler.DvcsScheduler:job' failed java.lang.IllegalArgumentException: Multiple entries with same key: example-repo=[https://server/data/example-repo], example-repo, true, false, true and example-repo=[https://server/data/example-repo], example-repo, true, false, true. To index multiple values under a key, use Multimaps.index.
Workaround
An attempt to add a unique constraint to avoid duplicates was tested and led to other problems hence, there is no workaround for this issue.
Attachments
Issue Links
- is related to
-
PS-69447 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- relates to
-
PSR-685 Loading...