Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialhave not tried2015-03-26 11:292015-03-27 02:12
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR15Q2
StatusclosedFix in branchFixed in SCM revision54218273885c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0029426: unneeded param in callback for client side validation of process definition

DescriptionClient side validation function for Process definition must invoke actionHandlerCall with a view parameter. This view parameter is useless because:

* It should always be the same value as the view received by the validation process, invoking with another value has no sense
* Caller has access to that view, so no need to receive it back
* New clientSideValidationFail function which is also passed to client validation does not receive this parameter, so for consistency, it is better to be both homogeneous.

Note this is not an API change because even if client side validation function is not modified and continues sending back the view, it will be just ignored.
Steps To ReproduceN/A: just code clean up in doProcess function defined in ob-parameter-window-view.js
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029388 closedalostale Duplicated records in Used Credit Source tab when clicking Done more than once in Add Details pop-up 

-  Notes
hgbot (developer)
2015-03-26 11:43

Repository: erp/devel/pi
Changeset: 54218273885cde18d83d448ea9111adb6b3f7200
Author: Asier Lostalé <asier.lostale <at>>
Date: Thu Mar 26 11:31:57 2015 +0100
URL: [^]

fixed issue 29426: unneeded param in callback for client side validation

  Callback function sent to client side validation had a mandatory view paramter
  that required to be the same one as the received one.

  This paramter has been removed

M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addTransaction.js
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-findTransaction.js
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-matchStatement.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
M web/js/validateCostingRuleProcess.js
AugustoMauch (developer)
2015-03-26 18:05

Code reviewed and verified in pi@9a240957107d
hudsonbot (developer)
2015-03-27 02:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-03-26 11:29 alostale New Issue
2015-03-26 11:29 alostale Assigned To => platform
2015-03-26 11:29 alostale Modules => Core
2015-03-26 11:29 alostale Triggers an Emergency Pack => No
2015-03-26 11:29 alostale Relationship added related to 0029388
2015-03-26 11:32 alostale Status new => scheduled
2015-03-26 11:32 alostale Assigned To platform => alostale
2015-03-26 11:43 hgbot Checkin
2015-03-26 11:43 hgbot Note Added: 0075993
2015-03-26 11:43 hgbot Status scheduled => resolved
2015-03-26 11:43 hgbot Resolution open => fixed
2015-03-26 11:43 hgbot Fixed in SCM revision => [^]
2015-03-26 11:54 alostale Review Assigned To => alostale
2015-03-26 16:26 alostale Review Assigned To alostale => AugustoMauch
2015-03-26 18:05 AugustoMauch Note Added: 0076029
2015-03-26 18:05 AugustoMauch Status resolved => closed
2015-03-26 18:05 AugustoMauch Fixed in Version => 3.0PR15Q2
2015-03-27 02:12 hudsonbot Checkin
2015-03-27 02:12 hudsonbot Note Added: 0076038

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker