Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021809Openbravo ERP03. Procurement managementpublic2012-10-01 12:352012-10-16 12:26
VictorVillar 
jonalegriaesarte 
urgentmajoralways
closedfixed 
5
2.50MP46 
2.50MP47 
Core
No
0021809: It is not possible to attached another document than a PO while sending a PO by email.
it is not possible to attached another document than a PO while sending a PO by email.
We reproduce the problem in http://live.builds.openbravo.com/int-full-pgsql/security/Login_FS.html [^] [^] and in a local environment.

In a local environment, this error happens if the tomcat has been started locally but it works fine when the tomcat has been started via Eclipse.

It seems that fails the OBPropertiesProvider.
Create a PO and get it completed.
Press the toolbar icon "Email".
A new window is shown.
Select another document to be attached to the email, see image below.
Press send.
An error is shown "Error trying to get the attached file".
attached the proposed solution
No tags attached.
depends on defect 00202873.0MP11 closed guilleaer it is not possible to attached another document than a PO while sending a PO by email. 
txt fixapplied.txt (3,619) 2012-10-01 12:35
https://issues.openbravo.com/file_download.php?file_id=5614&type=bug
Issue History
2012-10-01 12:35VictorVillarNew Issue
2012-10-01 12:35VictorVillarAssigned To => jonalegriaesarte
2012-10-01 12:35VictorVillarFile Added: fixapplied.txt
2012-10-01 12:35VictorVillarModules => Core
2012-10-01 12:36VictorVillarRelationship addeddepends on 0020287
2012-10-01 12:36VictorVillarIssue Monitored: networkb
2012-10-01 12:43jonalegriaesarteSummary0021807: it is not possible to attached another document than a PO while sending a PO by email. => It is not possible to attached another document than a PO while sending a PO by email.
2012-10-01 12:46hgbotCheckin
2012-10-01 12:46hgbotNote Added: 0052950
2012-10-01 12:46hgbotStatusnew => resolved
2012-10-01 12:46hgbotResolutionopen => fixed
2012-10-01 12:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/6c27023b8e86d118e6d6eff198fcd38d917b0629 [^]
2012-10-16 12:26VictorVillarNote Added: 0053372
2012-10-16 12:26VictorVillarStatusresolved => closed

Notes
(0052950)
hgbot   
2012-10-01 12:46   
Repository: erp/stable/2.50
Changeset: 6c27023b8e86d118e6d6eff198fcd38d917b0629
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Mon Oct 01 12:45:21 2012 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/6c27023b8e86d118e6d6eff198fcd38d917b0629 [^]

Fixes issue 0021809: It is not possible to attached another document than a PO
while sending a PO by email.

---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
(0053372)
VictorVillar   
2012-10-16 12:26   
Verified