Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027689Openbravo ERPA. Platformpublic2014-09-25 18:362014-12-30 23:26
caristu 
alostale 
highminoralways
closedfixed 
5
pi 
3.0PR15Q13.0PR15Q1 
AugustoMauch
Core
No
0027689: showPrintPreview() method is not working for OBGrid class
showPrintPreview() method is not working for OBGrid class
1) Create a manual window with an OBGrid object
2) Call to the following method of the OBGrid object: showPrintPreview(), the following error is raised:

GET <server_url>/openbravo/web/org.openbravo.userinterface.smartclient/isomorphic/system/helpers/printFrame.html?id=isc_PrintCanvas_0&title=Print%20Preview 404 (Not Found)
Include the printFrame.html file in the smartclient module to avoid the Not Found Error
No tags attached.
Issue History
2014-09-25 18:36caristuNew Issue
2014-09-25 18:36caristuAssigned To => AugustoMauch
2014-09-25 18:36caristuModules => Core
2014-09-25 18:36caristuResolution time => 1417993200
2014-09-25 18:36caristuTriggers an Emergency Pack => No
2014-09-25 18:36caristuIssue Monitored: networkb
2014-09-29 08:31alostaleTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-11-24 10:25alostaleAssigned ToAugustoMauch => alostale
2014-11-24 10:25alostaleReview Assigned To => AugustoMauch
2014-11-24 10:26alostaleNote Added: 0071924
2014-11-24 10:27hgbotCheckin
2014-11-24 10:27hgbotNote Added: 0071925
2014-11-24 10:27hgbotCheckin
2014-11-24 10:27hgbotNote Added: 0071926
2014-11-24 10:27hgbotStatusnew => resolved
2014-11-24 10:27hgbotResolutionopen => fixed
2014-11-24 10:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e120a93e8a6150bd67bc6b70de17e75542613fe5 [^]
2014-11-24 16:58AugustoMauchNote Added: 0071953
2014-11-24 16:58AugustoMauchStatusresolved => closed
2014-11-24 16:58AugustoMauchFixed in Version => 3.0PR15Q1
2014-12-30 23:26hudsonbotCheckin
2014-12-30 23:26hudsonbotNote Added: 0073127

Notes
(0071924)
alostale   
2014-11-24 10:26   
It can be reproduced in an instance without smartclient dev module:
-Open Alert window
-Execute in dev tools: isc_OBAlertGrid_0.showPrintPreview()ç
  * An invalid request to printFrame.html is sent
  * It should open a popup with loaded data but it does not
(0071925)
hgbot   
2014-11-24 10:27   
Repository: erp/mods/org.openbravo.userinterface.smartclient.dev
Changeset: 702b56216bd50029276e9e29baa96e9c746a4d53
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 24 10:25:07 2014 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.userinterface.smartclient.dev/rev/702b56216bd50029276e9e29baa96e9c746a4d53 [^]

related to issue 27689: added showPrintPreview

  copy SC's printFrame.html when building

---
M build.xml
---
(0071926)
hgbot   
2014-11-24 10:27   
Repository: erp/devel/pi
Changeset: e120a93e8a6150bd67bc6b70de17e75542613fe5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 24 10:20:10 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e120a93e8a6150bd67bc6b70de17e75542613fe5 [^]

fixed bug 27689: added showPrintPreview SmartClient functionallity

  Including SC's printFrame.html which is used by showPrintPreview

---
A modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/system/helpers/printFrame.html
---
(0071953)
AugustoMauch   
2014-11-24 16:58   
Code reviewed and verified in pi@e120a93e8a61
(0073127)
hudsonbot   
2014-12-30 23:26   
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/6525fe229e06 [^]
Maturity status: Test