Content
View differences
Updated by Jens Ulferts over 5 years ago
### **Steps to reproduce:**
1. Have a board
2. Load that board with the network tab open
### **Actual Behavior**
Checks for whether a column is to be displayed are triggered. But some of the requests are cancelled and replaced by new requests. The server will still have to handle the cancelled requests
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20552/content"></div></figure>
### **Expected Behavior**
Only one non cancelled request per check should be issued.
#### Notes
The problem seems to be caused by the observer in [https://github.com/opf/openproject/blob/a9a83f2dbcc4c00aef8689ba7e296a0700ec3792/frontend/src/app/modules/boards/board/board-partitioned-page/board-list-container.component.ts#L97](https://github.com/opf/openproject/blob/a9a83f2dbcc4c00aef8689ba7e296a0700ec3792/frontend/src/app/modules/boards/board/board-partitioned-page/board-list-container.component.ts#L97) receiving too many updates.
1. Have a board
2. Load that board with the network tab open
### **Actual Behavior**
Checks for whether a column is to be displayed are triggered. But some of the requests are cancelled and replaced by new requests. The server will still have to handle the cancelled requests
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20552/content"></div></figure>
### **Expected Behavior**
Only one non cancelled request per check should be issued.
#### Notes
The problem seems to be caused by the observer in [https://github.com/opf/openproject/blob/a9a83f2dbcc4c00aef8689ba7e296a0700ec3792/frontend/src/app/modules/boards/board/board-partitioned-page/board-list-container.component.ts#L97](https://github.com/opf/openproject/blob/a9a83f2dbcc4c00aef8689ba7e296a0700ec3792/frontend/src/app/modules/boards/board/board-partitioned-page/board-list-container.component.ts#L97) receiving too many updates.