Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0031152 | Openbravo ERP | A. Platform | public | 2015-10-15 10:41 | 2015-11-24 11:26 |
|
Reporter | aferraz | |
Assigned To | alostale | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Professional Appliance |
Product Version | | |
Target Version | 3.0PR16Q1 | Fixed in Version | 3.0PR16Q1 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
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 | 0031152: It would be fine if context could be initialized with a parameter in case FIC has not been executed |
Description | 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. |
Steps To Reproduce | 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. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | 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 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-10-15 10:41 | aferraz | New Issue | |
2015-10-15 10:41 | aferraz | Assigned To | => platform |
2015-10-15 10:41 | aferraz | Modules | => Core |
2015-10-15 10:41 | aferraz | Triggers an Emergency Pack | => No |
2015-10-15 10:41 | aferraz | Relationship added | blocks 0030677 |
2015-10-20 13:04 | alostale | Status | new => scheduled |
2015-10-20 13:04 | alostale | Assigned To | platform => alostale |
2015-10-20 13:09 | alostale | Review Assigned To | => AugustoMauch |
2015-10-20 15:22 | hgbot | Checkin | |
2015-10-20 15:22 | hgbot | Note Added: 0081137 | |
2015-10-20 15:22 | hgbot | Status | scheduled => resolved |
2015-10-20 15:22 | hgbot | Resolution | open => fixed |
2015-10-20 15:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6110a811e2701488ab4f7a023d784ef4f85cd00f [^] |
2015-10-20 17:07 | AugustoMauch | Note Added: 0081143 | |
2015-10-20 17:07 | AugustoMauch | Status | resolved => closed |
2015-10-20 17:07 | AugustoMauch | Fixed in Version | => 3.0PR16Q1 |
2015-10-23 10:25 | alostale | Relationship added | related to 0030678 |
2015-11-23 21:16 | hudsonbot | Checkin | |
2015-11-23 21:16 | hudsonbot | Note Added: 0082136 | |
2015-11-24 11:26 | hgbot | Checkin | |
2015-11-24 11:26 | hgbot | Note 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
---
|
|
|
|
Code reviewed and verified in pi@6110a811e270 |
|
|
|
|
|
(0082284)
|
hgbot
|
2015-11-24 11:26
|
|
|