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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031152
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajoralways2015-10-15 10:412015-11-24 11:26
ReporteraferrazView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0PR16Q1
StatusclosedFix in branchFixed in SCM revision6110a811e270
ProjectionnoneETAnoneTarget Version3.0PR16Q1
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031152: It would be fine if context could be initialized with a parameter in case FIC has not been executed

DescriptionWhen 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 Reproduce1. Install Add Payment Credit Payments Grid module
2. Run Add Payment directly from Menu
3. Realize contextInfo is empty when executing evaluateDisplayLogicForGridColumns js method.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0030678 closedplatform Openbravo ERP "Display logic for grid column" not working when opening a Process Definition directly from Menu 
blocks defect 0030677 closedaferraz Modules "Display logic for grid column" not working for accounting dimensions 

-  Notes
(0081137)
hgbot (developer)
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 (manager)
2015-10-20 17:07

Code reviewed and verified in pi@6110a811e270
(0082136)
hudsonbot (developer)
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 (developer)
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
---

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker