devcharly opened 2 years ago
|
|||||
OneDev changed state to 'Closed' 2 years ago
|
|||||
State changed as code fixing the issue is committed |
|||||
OneDev changed state to 'Released' 2 years ago
|
|||||
State changed as build #2320 is successful |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Affected Versions |
Not Found
|
Issue Votes (0)
Have a strange problem in the Redmine issues import plugin.
I'm getting below exception when trying to import Redmine versions into OneDev milestones. It occurs when invoking
oneDevProject.getMilestones()
(at this line)It turns out that following Redmine import options cause the problem:
If I remove them all (using the trash icons), then it works without any exception.
The source code for this options is copied from other import plugins. It is here: IssueTrackerMapping and IssuePriorityMapping
The exception occurs only when importing milestones. Importing Redmine issues works.
Maybe you can reproduce the problem with the Jira import plugin because it also has a class
IssuePriorityMapping
. Try adding a call tooneDevProject.getMilestones()
toio.onedev.server.plugin.imports.jiracloud.ImportUtils.importIssues()
.Or use the Redmine plugin: https://github.com/DevCharly/onedev-plugin-import-redmine
On the Redmine import options page enable Import Versions and disable Import Issues:
Hope you can help. I have no idea what's wrong.... Thanks.