Content
View differences
Updated by Jan Sandbrink about 1 year ago
### Steps to reproduce
1. Open the activities tab of a work package
2. Wait for the web server to return an unexpected errorneous response (e.g. an HTTP 502 or similar)
1. In development this can be provoked by changing the response for `WorkPackages::ActivitiesTabController#update_streams`
2. on a real instance/QA: Set a session timeout in administration auth settings and wait for timeout to occur (put browser tab into background) Not consciously provocable :/
### What is the buggy behavior?
The entirety of the returned response body is appended to the page as HTML
### What is the expected behavior?
* No persistent changes to the page layout in unexpected locations
* Optionally: An error message or indicator that updating comments failed
###
### Screenshots and other files
<img class="image_resized op-uc-image op-uc-image_inline" style="width:775px;" src="/api/v3/attachments/590885/content">
###
###
<img class="image_resized op-uc-image op-uc-image_inline" style="width:789px;" src="/api/v3/attachments/604761/content">
### Environment information
**OpenProject version**
release-branch ahead of 16.0
1. Open the activities tab of a work package
2. Wait for the web server to return an unexpected errorneous response (e.g. an HTTP 502 or similar)
1. In development this can be provoked by changing the response for `WorkPackages::ActivitiesTabController#update_streams`
2. on a real instance/QA: Set a session timeout in administration auth settings and wait for timeout to occur (put browser tab into background)
### What is the buggy behavior?
The entirety of the returned response body is appended to the page as HTML
### What is the expected behavior?
* No persistent changes to the page layout in unexpected locations
* Optionally: An error message or indicator that updating comments failed
###
### Screenshots and other files
<img class="image_resized op-uc-image op-uc-image_inline" style="width:775px;" src="/api/v3/attachments/590885/content">
###
###
<img class="image_resized op-uc-image op-uc-image_inline" style="width:789px;" src="/api/v3/attachments/604761/content">
### Environment information
**OpenProject version**
release-branch ahead of 16.0