Content
View differences
Updated by Oliver Günther about 4 years ago
### **Environment**:
community
OP 12.0.4
### **Steps to reproduce:**
1. (Not reliably reproducible but here is what I did):
2. Navigate to project "OpenProject".
3. Open query "OpenProject 12.0.5".
4. Open work package in split screen.
### **Actual Behavior**
API error message shown (disappears on reload).
This error also appears on other pages (e.g. in notification center: <mention class="mention" data-id="40023" data-type="work_package" data-text="#40023">#40023</mention>)
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/26027/content"></div></figure>
### **Expected Behavior**
The error message is non-critical and does not provide any useful information to the user.
* Do not show error message in this case.
* Continue showing a red badge on the notification bell, but remove the number displayed (since that number may no longer be accurate).
* Since the empty red badge was used before when the user had over 99 notifications, this should be changed to "99+"
### Technical note
* Locally this can reliably be reproduced by the following steps
1. Make sure to have a notification
2. Go to any page
3. Cancel the rails server
4. Wait on the page: After 10 seconds a new request is being sent to fetch new notifications, resulting in the error
community
OP 12.0.4
### **Steps to reproduce:**
1. (Not reliably reproducible but here is what I did):
2. Navigate to project "OpenProject".
3. Open query "OpenProject 12.0.5".
4. Open work package in split screen.
### **Actual Behavior**
API error message shown (disappears on reload).
This error also appears on other pages (e.g. in notification center: <mention class="mention" data-id="40023" data-type="work_package" data-text="#40023">#40023</mention>)
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/26027/content"></div></figure>
### **Expected Behavior**
The error message is non-critical and does not provide any useful information to the user.
* Do not show error message in this case.
* Continue showing a red badge on the notification bell, but remove the number displayed (since that number may no longer be accurate).
* Since the empty red badge was used before when the user had over 99 notifications, this should be changed to "99+"
### Technical note
* Locally this can reliably be reproduced by the following steps
1. Make sure to have a notification
2. Go to any page
3. Cancel the rails server
4. Wait on the page: After 10 seconds a new request is being sent to fetch new notifications, resulting in the error