Content
View differences
Updated by Wieland Lindenthal over 4 years ago
### Conclusion:
When a user tries to import a BCF XML file
* that contains issue that were already imported into other projects
Then we need to show an error message that informs the user
* that we cannot import the file
* which are the issues causing trouble by listing their subject
### Original Bug report
**Environment**:
OpenProject Version: <12.0.0> / Community Edition
Operating System : Debian 10.11 / /
Browser : Chrome 93.0.4577.82 / /
OpenProject language: french
Version de PostgreSQL : 13.5
### **Logs**
Impossible d'importer le fichier BCF : No route matches {:action=>"show", :controller=>"work\_packages", :id=>#<WorkPackage id: nil, type\_id: 0, project\_id: 9, subject: "", description: nil, due\_date: nil, category\_id: nil, status\_id: 0, assigned\_to\_id: nil, priority\_id: 0, version\_id: nil, author\_id: 0, lock\_version: 0, done\_ratio: 0, estimated\_hours: nil, created\_at: nil, updated\_at: nil, start\_date: nil, responsible\_id: nil, budget\_id: nil, position: nil, story\_points: nil, remaining\_hours: nil, derived\_estimated\_hours: nil, schedule\_manually: false, parent\_id: nil>, :layout=>nil, :project\_id=>"irts"}, possible unmatched constraints: \[:id\] Did you mean? work\_package\_url work\_packages\_url work\_packages\_path work\_package\_move\_url
### **Steps to reproduce:**
1. Go to page BCF
2. Click on button 'Import ' for import bcf files
3. Select your files bcf2.1
4. at the end, after select mapping data, you have the message error
### **Actual Behavior**
impossible to upload bcf files
### **Expected Behavior**
load task of the bcf file
When a user tries to import a BCF XML file
* that contains issue that were already imported into other projects
Then we need to show an error message that informs the user
* that we cannot import the file
* which are the issues causing trouble by listing their subject
### Original Bug report
**Environment**:
OpenProject Version: <12.0.0> / Community Edition
Operating System : Debian 10.11 /
Browser : Chrome 93.0.4577.82 /
OpenProject language: french
Version de PostgreSQL : 13.5
### **Logs**
Impossible d'importer le fichier BCF : No route matches {:action=>"show", :controller=>"work\_packages", :id=>#<WorkPackage id: nil, type\_id: 0, project\_id: 9, subject: "", description: nil, due\_date: nil, category\_id: nil, status\_id: 0, assigned\_to\_id: nil, priority\_id: 0, version\_id: nil, author\_id: 0, lock\_version: 0, done\_ratio: 0, estimated\_hours: nil, created\_at: nil, updated\_at: nil, start\_date: nil, responsible\_id: nil, budget\_id: nil, position: nil, story\_points: nil, remaining\_hours: nil, derived\_estimated\_hours: nil, schedule\_manually: false, parent\_id: nil>, :layout=>nil, :project\_id=>"irts"}, possible unmatched constraints: \[:id\] Did you mean? work\_package\_url work\_packages\_url work\_packages\_path work\_package\_move\_url
### **Steps to reproduce:**
1. Go to page BCF
2. Click on button 'Import ' for import bcf files
3. Select your files bcf2.1
4. at the end, after select mapping data, you have the message error
### **Actual Behavior**
impossible to upload bcf files
### **Expected Behavior**
load task of the bcf file