Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0033539Openbravo ERPA. Platformpublic2016-07-26 12:422022-02-01 08:09
caristu 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
 
 
Core
No
0033539: JS Errors after closing Add Payment window having the focus on the Order/Invoices grid
JS Errors after closing Add Payment window having the focus on the Order/Invoices grid.

If the window is closed with the 'Done' button (or alternatively with the close button of the window) the following error is raised in the console: 'Uncaught TypeError: Cannot read property 'canEdit' of null'

If the window is closed with the 'Cancel' button the following error is raised in the console: 'Uncaught TypeError: Cannot read property '$1162' of null'

1) Go to the [Payment In] window
2) Create a new record in the header
3) Launch Add Details process
4) Select a record in the Order/Invoice grid
5a) If the 'Cancel' button is clicked (or alternatively with the close button of the window) the following error is displayed in the console: 'Uncaught TypeError: Cannot read property 'canEdit' of null'
5b) If the 'Done' button is clicked the following error is displayed in the console: 'Uncaught TypeError: Cannot read property '$1162' of null'
Both errors are Smartclient issues which are already solved (in both cases a check for null value is missing)

For the 'Cancel' button error the following patch should be applied:
https://code.openbravo.com/private/com.isomorphic.smartclient/diff/7c1f0742c535/SmartClient/smartclientSDK/source/client/widgets/form/DynamicForm.js [^]

For the 'Done' button error apply:
https://code.openbravo.com/private/com.isomorphic.smartclient/file/bf6caf8c6f77/SmartClient/smartclientRuntime/isomorphic/system/modules-debug/ISC_Forms.js#l36306 [^]
No tags attached.
depends on feature request 0034303 acknowledged Triage Platform Base The SmartClient version must be updated. 
related to design defect 0034656 acknowledged Triage Platform Base An error is shown in Chrome console after executing a process 
Not all the children of this issue are yet resolved or closed.
Issue History
2016-07-26 12:42caristuNew Issue
2016-07-26 12:42caristuAssigned To => platform
2016-07-26 12:42caristuModules => Core
2016-07-26 12:42caristuTriggers an Emergency Pack => No
2016-07-26 12:42caristuProposed Solution updated
2016-07-26 12:51caristuDescription Updatedbug_revision_view_page.php?rev_id=12742#r12742
2016-07-26 12:51caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12744#r12744
2016-07-26 13:39caristuSummaryJS Errors after closing Add Payment window having the focus on the on the Order/Invoices grid => JS Errors after closing Add Payment window having the focus on the Order/Invoices grid
2016-07-28 08:53caristuProposed Solution updated
2016-10-24 16:16NaroaIriarteAssigned Toplatform => NaroaIriarte
2016-10-25 13:24NaroaIriarteStatusnew => acknowledged
2016-10-25 13:24NaroaIriarteStatusacknowledged => scheduled
2016-10-26 12:55NaroaIriarteSeveritymajor => minor
2016-10-26 12:55NaroaIriarteStatusscheduled => acknowledged
2016-10-26 12:55NaroaIriarteTypedefect => design defect
2016-10-26 12:59NaroaIriarteRelationship addeddepends on 0034303
2016-12-15 14:54NaroaIriarteRelationship addedrelated to 0034656
2017-03-14 17:06NaroaIriarteAssigned ToNaroaIriarte => platform
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.