Vote #77110
完了CSV import does not keep the project it was clicked from
0%
説明
When clicking the new Import link in the side bar menu of Issues, the project information seems to be lost.
There are several consequences:
Clicking the sidebar links in one of the import steps has various consequences, from no action (custom queries) to Error 500 (Calendar, Gantt)¶
When reaching the field mapping step, there is a project which is preselected, but not the one the import link was clicked from.¶
journals
Sorry, for the Calendar and Gantt links, the error 500 is due to a plugin.
--------------------------------------------------------------------------------
Did you solve problems?
--------------------------------------------------------------------------------
Well, not #2.
The fact that side-bar menus are not really relevant in the import page (since it is not set to any project) is just a note.
This is not a serious issue, but there is a reference to @import.project in the mapping page (views/mapping.html.erb) which returns a value, but we will never get the project we actually came from, because the link in the project\issues page is not project-dependent.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I confirm this behavior in the latest trunk.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Attached is a fix for this problem, it can be applied on top of #32196.
--------------------------------------------------------------------------------
Should we include this fix in version:"4.1.0"?
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Confirmed the issue. Since the change is small, I have set the target version to 4.1.0.
--------------------------------------------------------------------------------
Committed.
--------------------------------------------------------------------------------