Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052568
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2023-05-25 16:502023-05-25 16:51
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052568: Uncaught JS error thrown when working with backoffice windows under some circumstances

DescriptionUncaught 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 Reproduce0) 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 [^])
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0051088 closedadrianromero Retail Modules [Payment Limit validation] Event payment limit management should be configurable at organization or touchpoint type level 

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker