Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023198 | Openbravo ERP | A. Platform | public | 2013-02-28 18:14 | 2013-03-28 01:39 |
|
Reporter | AugustoMauch | |
Assigned To | shankarb | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP22 | Fixed in Version | 3.0MP22 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0023198: Centralize and improve the retrieval of EmailServerConfiguration |
Description | In the PrintController.createEmailOptionsPage method there is some code used to retrieve the EmailServerConfiguration object that should be used to send an email. This logic should be centralized so that it is reusable.
This logic should be improved because the way it is it's not retrieving the proper EmailServerConfiguration for each organization. Right now it does the following:
- Returns the EmailServerConfiguration defined for the current organization
- If there are none, returns the EmailServerConfiguration of the '*'
- If there are none, returns the first EmailServerConfiguration listed (using an arbitrary order).
It should work like this:
- If the current organization has a EmailServerConfiguration defined, returned it
- If not do the same with its parent organization, until the '*' organization is reached.
Example: how it works Right |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0023299 | 3.0MP22 | closed | alostale | Send email on events | related to | defect | 0023479 | 3.0MP22 | closed | AugustoMauch | Retrieval of EmailServerConfiguration does not work if several clients have configured their email |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-02-28 18:14 | AugustoMauch | New Issue | |
2013-02-28 18:14 | AugustoMauch | Assigned To | => AugustoMauch |
2013-02-28 18:14 | AugustoMauch | Modules | => Core |
2013-02-28 18:14 | AugustoMauch | Triggers an Emergency Pack | => No |
2013-02-28 18:15 | AugustoMauch | Summary | Centralize and improve EmailServerConfiguration retrieval => Centralize and improve the retrieval of EmailServerConfiguration |
2013-03-14 10:08 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-03-14 10:29 | alostale | Relationship added | related to 0023299 |
2013-03-14 10:29 | alostale | Issue Monitored: alostale | |
2013-03-17 15:39 | hgbot | Checkin | |
2013-03-17 15:39 | hgbot | Note Added: 0057282 | |
2013-03-17 15:39 | hgbot | Status | new => resolved |
2013-03-17 15:39 | hgbot | Resolution | open => fixed |
2013-03-17 15:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5def5186a07f8394ad89bc4aee171a8de3fe186d [^] |
2013-03-17 15:39 | shankarb | Issue Monitored: AugustoMauch | |
2013-03-18 11:06 | AugustoMauch | Note Added: 0057294 | |
2013-03-18 11:06 | AugustoMauch | Status | resolved => new |
2013-03-18 11:06 | AugustoMauch | Resolution | fixed => open |
2013-03-18 12:50 | hgbot | Checkin | |
2013-03-18 12:50 | hgbot | Note Added: 0057299 | |
2013-03-18 12:50 | hgbot | Status | new => resolved |
2013-03-18 12:50 | hgbot | Resolution | open => fixed |
2013-03-18 12:50 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/5def5186a07f8394ad89bc4aee171a8de3fe186d [^] => http://code.openbravo.com/erp/devel/pi/rev/39233b3f573537b73626213dbaf68a4f3102e1ed [^] |
2013-03-26 11:44 | hgbot | Checkin | |
2013-03-26 11:44 | hgbot | Note Added: 0057458 | |
2013-03-26 16:07 | hgbot | Checkin | |
2013-03-26 16:07 | hgbot | Note Added: 0057463 | |
2013-03-26 18:57 | hgbot | Checkin | |
2013-03-26 18:57 | hgbot | Note Added: 0057479 | |
2013-03-27 18:23 | AugustoMauch | Review Assigned To | => AugustoMauch |
2013-03-27 18:23 | AugustoMauch | Note Added: 0057515 | |
2013-03-27 18:23 | AugustoMauch | Status | resolved => closed |
2013-03-27 18:23 | AugustoMauch | Fixed in Version | => 3.0MP22 |
2013-03-28 01:39 | hudsonbot | Checkin | |
2013-03-28 01:39 | hudsonbot | Note Added: 0057519 | |
2013-03-28 01:39 | hudsonbot | Checkin | |
2013-03-28 01:39 | hudsonbot | Note Added: 0057527 | |
2013-04-03 16:31 | AugustoMauch | Relationship added | related to 0023479 |
Notes |
|
(0057282)
|
hgbot
|
2013-03-17 15:39
|
|
Repository: erp/devel/pi
Changeset: 5def5186a07f8394ad89bc4aee171a8de3fe186d
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Sun Mar 17 20:08:08 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/5def5186a07f8394ad89bc4aee171a8de3fe186d [^]
Fixes Issue 0023198: Centralize and improve the retrieval of EmailServerConfiguration
Updated EmailServerConfiguration to retrieve the organization based on the parent hierarchy.
It works as follows:
- If the current organization has a EmailServerConfiguration defined, return it.
- If not do the same with its parent organization, until the '*' organization is reached.
---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
|
|
|
|
|
|
(0057299)
|
hgbot
|
2013-03-18 12:50
|
|
Repository: erp/devel/pi
Changeset: 39233b3f573537b73626213dbaf68a4f3102e1ed
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Mar 18 17:18:15 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/39233b3f573537b73626213dbaf68a4f3102e1ed [^]
Fixes Issue 0023198: Centralization of EmailServerConfiguration
Added email server configuration to Utility and applied code review changes
---
M src/org/openbravo/erpCommon/utility/Utility.java
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
|
|
|
(0057458)
|
hgbot
|
2013-03-26 11:44
|
|
Repository: erp/devel/pi
Changeset: b22612f93099797a9827562ac6dc8449b0152fc9
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Mar 26 16:12:15 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b22612f93099797a9827562ac6dc8449b0152fc9 [^]
Related to Issue 23198 : Added EmailUtils.java, code refactoring
Added a new file EmailUtils.java.
Moved getEmailConfiguration from Utility.java to EmailUtils.java
Refactored EmailEventManager and PrintController class to call the EmailUtils methods
---
M src/org/openbravo/email/EmailEventManager.java
M src/org/openbravo/erpCommon/utility/Utility.java
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
A src/org/openbravo/email/EmailUtils.java
---
|
|
|
(0057463)
|
hgbot
|
2013-03-26 16:07
|
|
|
|
(0057479)
|
hgbot
|
2013-03-26 18:57
|
|
|
|
|
Code reviewed and verified in pi@bc2062961ed8 |
|
|
|
|
|
|
|