Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008602Openbravo ERPA. Platformpublic2009-04-16 17:282009-06-04 00:00
psarobe 
iperdomo 
urgentmajorhave not tried
closedfixed 
5
2.50 
 
Core
No
0008602: Randomly the pdf that is generated cannot be printed
Randomly when you try to print a document, an error message shows up when trying to open the document

SEE ATTACH
1. Go to Sales management->transactions->Sales order
2. Create a sales order filling all the mandatory fields. Transaction document (standard sales order)
3. Move to lines and create a new line
4. Go back to the header and complete

SEE ATTACH
250MP1
has duplicate defect 0009061 closed iperdomo Archive Sales Order while printing fails 
png print.PNG (16,923) 2009-04-16 17:28
https://issues.openbravo.com/file_download.php?file_id=1188&type=bug
png
Issue History
2009-04-16 17:28psarobeNew Issue
2009-04-16 17:28psarobeAssigned To => iperdomo
2009-04-16 17:28psarobeFile Added: print.PNG
2009-04-16 17:28psarobeRegression testing => No
2009-04-16 17:28psarobeStatusnew => scheduled
2009-04-16 17:28psarobefix_in_branch => pi
2009-04-16 18:58shuehnerNote Added: 0015390
2009-04-20 11:31psarobeNote Added: 0015422
2009-04-23 16:05psarobeTag Attached: 250MP1
2009-05-19 21:07hgbotCheckin
2009-05-19 21:07hgbotNote Added: 0016476
2009-05-19 21:07hgbotStatusscheduled => resolved
2009-05-19 21:07hgbotResolutionopen => fixed
2009-05-19 21:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3303f24a2a76e8283ea9d54e6751c6966f4d0f3f [^]
2009-05-20 12:14psarobeRelationship addedhas duplicate 0009061
2009-06-03 12:08psarobeStatusresolved => closed
2009-06-04 00:00anonymoussf_bug_id0 => 2800771

Notes
(0015390)
shuehner   
2009-04-16 18:58   
The filesize of the generated pdf in that case is 0 and no error message is logged into openbravo log (with info level) and tomcat stdout.
(0015422)
psarobe   
2009-04-20 11:31   
Peoplo from consulting has found a pattern behavior on this. It happens whenever you click the button "Print and attach" and then if you click the button "Just print it" it always fail
(0016476)
hgbot   
2009-05-19 21:07   
Repository: erp/devel/pi
Changeset: 3303f24a2a76e8283ea9d54e6751c6966f4d0f3f
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue May 19 21:06:18 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3303f24a2a76e8283ea9d54e6751c6966f4d0f3f [^]

Fixes issue 8602: Restore the archived flag when using just print feature

---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---