Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030249Openbravo ERPA. Platformpublic2015-06-25 15:512022-02-01 08:05
NaroaIriarte 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
 
 
alostale
Core
No
0030249: An error is get in the chrome console when executing a Process Definition.
When executing the process definition "Set New Currency", an error is retrieved:

"Uncaught TypeError: Cannot read property '$1162' of null"

I the "https://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient.dev/" [^] module is in development, the message is this:

"Uncaught TypeError: Cannot read property '_handleSelect' of null"
1- Log in as System Admin.
2- Go to "Process Definition" window and open "Set New Currency" record.
3- Open "Rate" in the "Parameter" tab.
4- Set the default value as 1.

5- Log in as F&B Admin.
6- Go to "Business Partner" window and select any record.
7- Click on the "Set New Currency" button.
8- Click on the "Done" button.
9- An error is retrieved in the chrome console:
"Uncaught TypeError: Cannot read property '_handleSelect' of null"
No tags attached.
related to defect 0031532 acknowledged Triage Platform Base It is raises a exception when closing a tab which has an editing row. 
related to design defect 0034656 acknowledged Triage Platform Base An error is shown in Chrome console after executing a process 
has duplicate defect 0035135 closed platform An error is shown in chrome console when clicking the "done" button of the "Add Payment" process in some circumstances 
causes defect 0030324 closed alostale process definition invoked from menu remains in processing status after completion 
diff issue30249.diff (950) 2015-06-25 17:05
https://issues.openbravo.com/file_download.php?file_id=8231&type=bug
Issue History
2015-06-25 15:51NaroaIriarteNew Issue
2015-06-25 15:51NaroaIriarteAssigned To => NaroaIriarte
2015-06-25 15:51NaroaIriarteModules => Core
2015-06-25 15:51NaroaIriarteTriggers an Emergency Pack => No
2015-06-25 15:52NaroaIriarteAssigned ToNaroaIriarte =>
2015-06-25 15:53NaroaIriarteAssigned To => NaroaIriarte
2015-06-25 16:32NaroaIriarteReview Assigned To => alostale
2015-06-25 16:32NaroaIriarteIssue Monitored: alostale
2015-06-25 17:05NaroaIriarteFile Added: issue30249.diff
2015-06-25 17:19NaroaIriarteStatusnew => acknowledged
2015-06-25 17:20NaroaIriarteStatusacknowledged => scheduled
2015-07-03 17:46hgbotCheckin
2015-07-03 17:46hgbotNote Added: 0078641
2015-07-03 17:46hgbotStatusscheduled => resolved
2015-07-03 17:46hgbotResolutionopen => fixed
2015-07-03 17:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e45f0f903a9522adc6ef50bc0c9902944cbcb44e [^]
2015-07-07 09:27alostaleRelationship addedcauses 0030324
2015-07-07 09:31hgbotCheckin
2015-07-07 09:31hgbotNote Added: 0078689
2015-07-07 09:32alostaleNote Added: 0078691
2015-07-07 09:32alostaleStatusresolved => new
2015-07-07 09:32alostaleResolutionfixed => open
2015-07-08 16:46alostaleStatusnew => acknowledged
2015-08-20 23:15hudsonbotCheckin
2015-08-20 23:15hudsonbotNote Added: 0079453
2015-08-20 23:16hudsonbotCheckin
2015-08-20 23:16hudsonbotNote Added: 0079478
2015-11-11 12:13alostaleAssigned ToNaroaIriarte => platform
2017-02-02 11:21NaroaIriarteRelationship addedrelated to 0031532
2017-02-02 11:24NaroaIriarteRelationship addedrelated to 0034656
2017-02-02 11:28NaroaIriarteRelationship addedhas duplicate 0035135
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

Notes
(0078641)
hgbot   
2015-07-03 17:46   
Repository: erp/devel/pi
Changeset: e45f0f903a9522adc6ef50bc0c9902944cbcb44e
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Thu Jun 25 17:04:28 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e45f0f903a9522adc6ef50bc0c9902944cbcb44e [^]

Fixed issue 30249: Error get when the Set New Currency process def. is executed

The problem was that a error was got when clicking the "Done" button of the "Set New Currency"
process definition.

"Uncaught TypeError: Cannot read property '_handleSelect' of null"

The problem was in the "ob-parameter-window-view.js" in the handleResponse function.
It was executing "this.showProcessing(false)" even when the "retryExecution" parameter
was false.
Now the "this.showProcessing(false)" is executed only if the "retryExecution" parameter is true.

This affected to the process definition execution because as we were executing the "this.showProcessing(false)"
even when the retryExecution parameter was false, an ob-selector was deleted and after that, it was trying to
get the "._handleSelect" of that selector.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
(0078689)
hgbot   
2015-07-07 09:31   
Repository: erp/devel/pi
Changeset: 8adae72ecaeee2a88ac610a36bbd4f02536a7988
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jul 07 09:30:33 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8adae72ecaeee2a88ac610a36bbd4f02536a7988 [^]

fixed bug 30324, related to bug 30249 (backed out)

  Backed out changest e45f0f903a952 because introduced regression 0030324.

  It only took into account case of process definitions executed as a popup but
  not when they are executed as a full tab.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
(0078691)
alostale   
2015-07-07 09:32   
Reopening: current changeset causes regression 0030324
(0079453)
hudsonbot   
2015-08-20 23:15   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/8c91718397a5 [^]
Maturity status: Test
(0079478)
hudsonbot   
2015-08-20 23:16   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/8c91718397a5 [^]
Maturity status: Test