Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021347Openbravo ERPA. Platformpublic2012-08-10 11:182013-01-17 14:22
dmiguelez 
AugustoMauch 
normalmajoralways
closedfixed 
20Community Appliance
 
 
migueldejuana
Core
QA functional test
2012-08-06
https://code.openbravo.com/erp/devel/pi/rev/d886ecbd34d679352b46ba22fe368727e5773fe8 [^]
No
0021347: Error: Boolean can not be cast to String in Pick and Execute
Error: Boolean can not be cast to String in Pick and Execute.

When entering the Pick and Execute window from the Lines tab instead of the header, and then submiting, an error message appears:
java.lang.Boolean cannot be cast to java.lang.String

Even if this message is shown, the data shown when reloading the tab is correct, so the Action Handler must be working.

It seems a problem with the Json object return.

This can be reproduced in all the P&E windows, such as:
- Return to Vendor
- Return to Vendor Shipment
- Return from Customer
- Return Material Receipt
- Modify Payment Plan
- Payment Proposal
Login as Openbravo/openbravo

Create a new Return To Vendor:
-'Organization': F&B US
-'Business Partner': Be Soft Drinker

Click on Pick/Edit Lines:
Select the line with:
-'Product':Cola
Set Returned to 50 and click on Done.

Click on the Lines tab and then again on the Pick/Edit lines button
Change the Returned quantity of the selected line to 45 and click on done.

The error message is shown.
No tags attached.
related to defect 00207223.0MP15 closed AugustoMauch Lines of purchase/sales order/invoice do not appear when creating them by process buttons, if the grid is filtered by BP 
Issue History
2012-08-10 11:18dmiguelezNew Issue
2012-08-10 11:18dmiguelezAssigned To => alostale
2012-08-10 11:18dmiguelezModules => Core
2012-08-10 11:21dmiguelezRegression level => QA functional test
2012-08-10 11:21dmiguelezNote Added: 0051241
2012-08-14 13:11AugustoMauchRegression date => 2012-08-06
2012-08-14 13:11AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/d886ecbd34d679352b46ba22fe368727e5773fe8 [^]
2012-08-14 13:13AugustoMauchRelationship addedrelated to 0020722
2012-08-14 13:13AugustoMauchAssigned Toalostale => AugustoMauch
2012-08-14 13:16hgbotCheckin
2012-08-14 13:16hgbotNote Added: 0051281
2012-08-14 13:16hgbotStatusnew => resolved
2012-08-14 13:16hgbotResolutionopen => fixed
2012-08-14 13:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0ce5bb9039c27899d455693e3e6895e8f9d345e1 [^]
2012-08-14 14:40AugustoMauchNote Added: 0051296
2012-08-14 14:40AugustoMauchStatusresolved => new
2012-08-14 14:40AugustoMauchResolutionfixed => open
2012-08-14 14:40AugustoMauchClosed by => migueldejuana
2012-08-14 14:41AugustoMauchStatusnew => acknowledged
2012-08-14 14:41AugustoMauchStatusacknowledged => scheduled
2012-08-14 14:41AugustoMauchfix_in_branch => pi
2012-08-14 14:41AugustoMauchStatusscheduled => resolved
2012-08-14 14:41AugustoMauchResolutionopen => fixed
2012-08-24 12:47migueldejuanaNote Added: 0051531
2012-08-24 12:47migueldejuanaStatusresolved => closed
2013-01-17 14:22alostaleNote Added: 0055570

Notes
(0051241)
dmiguelez   
2012-08-10 11:21   
This didn't happen when I was testing the Modify Payment Plan functionality, and I tested it agains the latest pi version availabe.

So the regresion should have been introduced after the commit that introduced Editable Payment Plan:

https://code.openbravo.com/erp/devel/pi/rev/c8f8fc23ae0b [^]
(0051281)
hgbot   
2012-08-14 13:16   
Repository: erp/devel/pi
Changeset: 0ce5bb9039c27899d455693e3e6895e8f9d345e1
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Aug 14 13:15:32 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0ce5bb9039c27899d455693e3e6895e8f9d345e1 [^]

Fixes issue 21347: Fixed call to old version of refresh()

In the fix os issue 20722, the signature of the refresh function was added to include a third parameter. There were in the code calls to a previous version of that function, that needed to be updated to support the new signature.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js
---
(0051296)
AugustoMauch   
2012-08-14 14:40   
Issue reopened to enter Closed by field
(0051531)
migueldejuana   
2012-08-24 12:47   
Tested and reviewed in @ece91fb55374.
(0055570)
alostale   
2013-01-17 14:22   
test case Communit-6882:Pick and execute works from lines (issue 21347)