Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0052568 | Openbravo ERP | A. Platform | public | 2023-05-25 16:50 | 2023-05-25 16:51 | ||||||||
Reporter | caristu | ||||||||||||
Assigned To | Triage Platform Base | ||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Review Assigned To | |||||||||||||
OBNetwork customer | |||||||||||||
Web browser | |||||||||||||
Modules | Core | ||||||||||||
Support ticket | |||||||||||||
Regression level | |||||||||||||
Regression date | |||||||||||||
Regression introduced in release | |||||||||||||
Regression introduced by commit | |||||||||||||
Triggers an Emergency Pack | No | ||||||||||||
Summary | 0052568: Uncaught JS error thrown when working with backoffice windows under some circumstances | ||||||||||||
Description | Uncaught JS error thrown when working with backoffice windows under some circumstances. This error is not reproduced on every window, at least it is required to have a callout being executed when a field change and a display logic based on a value computed with that callout. | ||||||||||||
Steps To Reproduce | 0) Setup an environment with org.openbravo.events.client and org.openbravo.events.payment module. This have we'll be able to reproduce the issue in the [Event Subscription] window. 1) Go to the [External System] window and create two external systems: one with protocol "Touchpoint - Frontend" and the other with protocol "HTTP - Backend" 2) Go to the [Event Subscription] window. Create a new record in form view: - Organization: any - Event: "Event Payment Provider" - External System: The one created with "HTTP - Backend" protocol 3) Save the record. It will not be possible because there is an event handler prevent it. This is correct. 4) Change now the external system and select the one created with "Touchpoint - Frontend" protocol. Notice that a JS error is fired in the console and we cannot work with the form anymore until the changes are discarded. The JS error fired is: ISC_Combined.js:254 Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler? at _2.isc_Canvas__updateParentHTML [as $p9] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:1762:369 [^]) at _2.isc_Canvas__updateHTML [as $ra] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:1756:19 [^]) at _2.isc_Canvas_redraw [as redraw] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:1752:707 [^]) at _2.isc_c_Class_invokeSuper [as invokeSuper] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:245:93 [^]) at _2.isc_c_Class_Super [as Super] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:237:170 [^]) at _2.isc_DynamicForm_redraw [as redraw] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:8032:370 [^]) at _2.isc_c_Class_invokeSuper [as invokeSuper] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:245:93 [^]) at _2.isc_c_Class_Super [as Super] (http://127.0.0.1:8080/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js:237:170 [^]) at _2.redraw (http://127.0.0.1:8080/openbravo/web/js/gen/bc5df557e22f9c3bd162d0430012b17e.js:46726:10 [^]) at _2.processFICReturn (http://127.0.0.1:8080/openbravo/web/js/gen/bc5df557e22f9c3bd162d0430012b17e.js:45237:10 [^]) | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2023-05-25 16:50 | caristu | New Issue | |||||||||||
2023-05-25 16:50 | caristu | Assigned To | => Triage Platform Base | ||||||||||
2023-05-25 16:50 | caristu | Modules | => Core | ||||||||||
2023-05-25 16:50 | caristu | Triggers an Emergency Pack | => No | ||||||||||
2023-05-25 16:51 | caristu | Relationship added | related to 0051088 |
There are no notes attached to this issue. |