Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031152Openbravo ERPA. Platformpublic2015-10-15 10:412015-11-24 11:26
aferraz 
alostale 
urgentmajoralways
closedfixed 
30Professional Appliance
 
3.0PR16Q13.0PR16Q1 
AugustoMauch
Core
No
0031152: It would be fine if context could be initialized with a parameter in case FIC has not been executed
When executing evaluateDisplayLogicForGridColumns method of ob-pick-and-execute-grid.js, contextInfo can be empty because it has not been initializated (FormInitializationComponent has not been executed) if you open a Process Definition directly from Menu.

In this case, fieldVisibility could not be correctly calculated if it needs some session attributes setted by FIC (see related issue: 30677).

It would be fine if context could be initialized with an extra parameter in this case.
1. Install Add Payment Credit Payments Grid module
2. Run Add Payment directly from Menu
3. Realize contextInfo is empty when executing evaluateDisplayLogicForGridColumns js method.
No tags attached.
related to design defect 0030678 closed platform Openbravo ERP "Display logic for grid column" not working when opening a Process Definition directly from Menu 
blocks defect 0030677 closed aferraz Modules "Display logic for grid column" not working for accounting dimensions 
Issue History
2015-10-15 10:41aferrazNew Issue
2015-10-15 10:41aferrazAssigned To => platform
2015-10-15 10:41aferrazModules => Core
2015-10-15 10:41aferrazTriggers an Emergency Pack => No
2015-10-15 10:41aferrazRelationship addedblocks 0030677
2015-10-20 13:04alostaleStatusnew => scheduled
2015-10-20 13:04alostaleAssigned Toplatform => alostale
2015-10-20 13:09alostaleReview Assigned To => AugustoMauch
2015-10-20 15:22hgbotCheckin
2015-10-20 15:22hgbotNote Added: 0081137
2015-10-20 15:22hgbotStatusscheduled => resolved
2015-10-20 15:22hgbotResolutionopen => fixed
2015-10-20 15:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6110a811e2701488ab4f7a023d784ef4f85cd00f [^]
2015-10-20 17:07AugustoMauchNote Added: 0081143
2015-10-20 17:07AugustoMauchStatusresolved => closed
2015-10-20 17:07AugustoMauchFixed in Version => 3.0PR16Q1
2015-10-23 10:25alostaleRelationship addedrelated to 0030678
2015-11-23 21:16hudsonbotCheckin
2015-11-23 21:16hudsonbotNote Added: 0082136
2015-11-24 11:26hgbotCheckin
2015-11-24 11:26hgbotNote Added: 0082284

Notes
(0081137)
hgbot   
2015-10-20 15:22   
Repository: erp/devel/pi
Changeset: 6110a811e2701488ab4f7a023d784ef4f85cd00f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Oct 20 12:57:26 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6110a811e2701488ab4f7a023d784ef4f85cd00f [^]

fixed issue 31152: context info in process definition can be extended

  Process definition has a new property (additionalContextInfo) that can be used
  to add additional properties, or overwrite existing ones, in context info that
  is used later to compute ie. display logic.

  In this way it will be possible to set this info with an ActionHandler to be used
  later as part of context info.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0081143)
AugustoMauch   
2015-10-20 17:07   
Code reviewed and verified in pi@6110a811e270
(0082136)
hudsonbot   
2015-11-23 21: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/7b56bebaaa88 [^]
Maturity status: Test
(0082284)
hgbot   
2015-11-24 11:26   
Repository: erp/mods/org.openbravo.finance.addpaymentcreditpaymentsgrid
Changeset: 54c949dc896e1c954eded20c71985c52137c4a7b
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Nov 24 09:50:42 2015 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.finance.addpaymentcreditpaymentsgrid/rev/54c949dc896e1c954eded20c71985c52137c4a7b [^]

Related to issue 30677: Update dependency to core to include fix of issue 31152

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---