Content
View differences
Updated by Aleix Suau about 5 years ago
### **Environment**:
Your OpenProject Version: edge / Cloud Edition
Operating System / Browser / OpenProject language: Firefox, English
### **Logs**
### **Steps to reproduce:**
1. In a project with at least two subprojects: Create a subproject board and insert at least two subprojects including work packages
2. Move a work package from one list (subproject) to another list (subproject)
### **Actual Behavior**
The work package stays where i moved it for some seconds and changes its project name. Then it disappears. Only after reloading the page it appears again. See GIF:
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/19342/content"></div></figure> class="image"><img src="/api/v3/attachments/19342/content"></figure>
The same happens when I add an existing card to a list using the + icon.
### **Expected Behavior**
The moved work package doesn't disappear but stays where I moved it (e.g. as in the status board).
### Development Notes
* When dropping an element, the WorkPackageCardViewComponent.workPackages setter where the element is dropped is called twice:
* First with the original results (e.g. length 1) from this.halEvents.aggregated$('WorkPackage')
* Second with the final result (e.g. length 2) from this.querySpace.results.values$
Your OpenProject Version: edge / Cloud Edition
Operating System / Browser / OpenProject language: Firefox, English
### **Logs**
### **Steps to reproduce:**
1. In a project with at least two subprojects: Create a subproject board and insert at least two subprojects including work packages
2. Move a work package from one list (subproject) to another list (subproject)
### **Actual Behavior**
The work package stays where i moved it for some seconds and changes its project name. Then it disappears. Only after reloading the page it appears again. See GIF:
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/19342/content"></div></figure>
The same happens when I add an existing card to a list using the + icon.
### **Expected Behavior**
The moved work package doesn't disappear but stays where I moved it (e.g. as in the status board).
### Development Notes
* When dropping an element, the WorkPackageCardViewComponent.workPackages setter where the element is dropped is called twice:
* First with the original results (e.g. length 1) from this.halEvents.aggregated$('WorkPackage')
* Second with the final result (e.g. length 2) from this.querySpace.results.values$