Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0045803 | Openbravo ERP | A. Platform | public | 2021-01-28 17:54 | 2021-01-29 10:08 |
Reporter | cberner | ||||
Assigned To | cberner | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | PR21Q2 | |||
Merge Request Status | approved | ||||
Review Assigned To | |||||
OBNetwork customer | Gold | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0045803: MessageBar shows on top of all windows when tab is closed and some ActionHandler callback is still pending | ||||
Description | A red/green message bar is shown on the top of the ERP(see attached screenshot) when some handler, for example (GetTabMessageActionHandler) finishes after the current tab(that executed that ActionHandler) has been closed. | ||||
Steps To Reproduce | 1. Open ERP and login 2. Add a breakpoint at the start of GetTabMessageActionHandler.execute method 3. Open in ERP, Sales Order window 4. Create a new Order, and don't add any product lines. 5. Press "Book" and "OK" on the popup. 6. Check that the tomcat instance has stopped on the breakpoint placed earlier 7. Close the Sales Order tab in ERP 8. Resume execution in the tomcat instance A red message bar will appear on top. Check screenshot attached. | ||||
Proposed Solution | Check in ob-standard-view.js in getTabMessage callback if the clientContext.messageBar/window is actually valid and not null. Only setMessage when it is valid. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=15286&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-01-28 17:54 | cberner | New Issue | |||
2021-01-28 17:54 | cberner | Assigned To | => cberner | ||
2021-01-28 17:54 | cberner | OBNetwork customer | => No | ||
2021-01-28 17:54 | cberner | Modules | => Core | ||
2021-01-28 17:54 | cberner | Triggers an Emergency Pack | => No | ||
2021-01-28 17:55 | cberner | File Added: redbarWindow.png | |||
2021-01-28 18:02 | hgbot | Merge Request Status | => open | ||
2021-01-28 18:02 | hgbot | Note Added: 0125839 | |||
2021-01-28 18:13 | egoitz | OBNetwork customer | No => Gold | ||
2021-01-29 10:07 | hgbot | Merge Request Status | open => approved | ||
2021-01-29 10:08 | hgbot | Resolution | open => fixed | ||
2021-01-29 10:08 | hgbot | Status | new => closed | ||
2021-01-29 10:08 | hgbot | Fixed in Version | => PR21Q2 | ||
2021-01-29 10:08 | hgbot | Note Added: 0125850 | |||
2021-01-29 10:08 | hgbot | Note Added: 0125851 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|