Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0019406 | Openbravo ERP | A. Platform | public | 2012-01-03 21:40 | 2012-01-24 18:04 |
|
Reporter | dbaz | |
Assigned To | dbaz | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP8 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0019406: Email configuration only can use port 25 and no connection security |
Description | Email configuration only can use port 25 and no connection security.
It should be able also to use a different port or a connection security STARTTLS or SSL.
As it is now, port 25 is used (default port) and no connection security |
Steps To Reproduce | As "Openbravo Admin"
* Go to "Client" -> "Email Configuration"
* Click "New"
Notice that you can not specify neither port nor connection security |
Proposed Solution | See attached diff. |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | feature request | 0013957 | | closed | dbaz | To Configure SMTP Sever Port |
|
Attached Files | email.diff (24,601) 2012-01-03 21:40 https://issues.openbravo.com/file_download.php?file_id=4875&type=bug
email-callout.diff (8,048) 2012-01-04 16:07 https://issues.openbravo.com/file_download.php?file_id=4879&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2012-01-03 21:40 | dbaz | New Issue | |
2012-01-03 21:40 | dbaz | Assigned To | => dbaz |
2012-01-03 21:40 | dbaz | File Added: email.diff | |
2012-01-03 21:40 | dbaz | Modules | => Core |
2012-01-03 21:40 | dbaz | OBNetwork customer | => No |
2012-01-03 21:46 | dbaz | Note Added: 0044105 | |
2012-01-04 16:07 | dbaz | File Added: email-callout.diff | |
2012-01-04 16:15 | dbaz | Note Added: 0044122 | |
2012-01-04 16:15 | dbaz | Note Edited: 0044122 | bug_revision_view_page.php?bugnote_id=0044122#r3017 |
2012-01-05 16:31 | dbaz | Note Edited: 0044105 | bug_revision_view_page.php?bugnote_id=0044105#r3021 |
2012-01-05 16:32 | shuehner | Relationship added | related to 0013957 |
2012-01-05 16:41 | shuehner | Note Added: 0044131 | |
2012-01-09 06:55 | iperdomo | Note Added: 0044136 | |
2012-01-09 10:55 | shuehner | Note Added: 0044140 | |
2012-01-10 12:45 | hgbot | Checkin | |
2012-01-10 12:45 | hgbot | Note Added: 0044172 | |
2012-01-10 12:45 | hgbot | Status | new => resolved |
2012-01-10 12:45 | hgbot | Resolution | open => fixed |
2012-01-10 12:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4eb3ae89cc0adf08bbfe502fb5854460453f5e70 [^] |
2012-01-10 13:11 | hgbot | Checkin | |
2012-01-10 13:11 | hgbot | Note Added: 0044174 | |
2012-01-10 13:15 | dbaz | Relationship replaced | has duplicate 0013957 |
2012-01-14 21:20 | hudsonbot | Checkin | |
2012-01-14 21:20 | hudsonbot | Note Added: 0044343 | |
2012-01-14 21:20 | hudsonbot | Checkin | |
2012-01-14 21:20 | hudsonbot | Note Added: 0044345 | |
2012-01-24 18:04 | alostale | Note Added: 0044523 | |
2012-01-24 18:04 | alostale | Status | resolved => closed |
2012-01-24 18:04 | alostale | Fixed in Version | => 3.0MP8 |
Notes |
|
(0044105)
|
dbaz
|
2012-01-03 21:46
(edited on: 2012-01-05 16:31) |
|
The following tests should be done before close the issue:
Ensure that previous defined email configurations still work:
* Create a working email configuration BEFORE apply the patch
* Update your instance with the patch (the diff) content
* Go to "Email Configuration" window and ensure that the following fields:
"Smtp Connection Security" : None
"Smtp Port" : 25
have been added
* Ensure that the email sending still works.
Ensure that STARTTLS option works:
* Apply the patch and compile
* Create a valid email configuration which uses STARTTLS. Example: any valid gmail account with these values:
"Smtp Connection Security" : STARTTLS
"Smtp Port" : 587
* Ensure that the email sending works
* Change the port to other different than 587
* Check that the email sending DOESN'T work
Ensure that SSL option works:
* Apply the patch and compile
* Create a valid email configuration which uses SSL. Example: any valid gmail account with these values:
"Smtp Connection Security" : SSL
"Smtp Port" : 465
* Ensure that the email sending works
* Change the port to other different than 465
* Check that the email sending DOESN'T work
|
|
|
(0044122)
|
dbaz
|
2012-01-04 16:15
|
|
Added "email-callout.diff"
This diff provides a callout to set automatically the "Smtp Port" field with the most common port for the "Smtp Connection Security" provided.
The user always can set manually the "Smtp Port" value, but this pre-set would be useful for several smtp servers.
To test it just change the "Smtp Connection Security" field and check that the following change:
"Smtp Connection Security" : None --> "Smtp Port" : 25
"Smtp Connection Security" : STARTTLS --> "Smtp Port" : 587
"Smtp Connection Security" : SSL --> "Smtp Port" : 465
|
|
|
|
Note for testing: STARTTLS can also be used on ports != 587. It's i.e. normal to use it (optionally) on port 25. Depends on smtp-server config. |
|
|
|
|
|
|
Agreed, no harm in that. My comment was just related to the testplan, the callout proposing a initial value looked fine to me. |
|
|
(0044172)
|
hgbot
|
2012-01-10 12:45
|
|
Repository: erp/devel/pi
Changeset: 4eb3ae89cc0adf08bbfe502fb5854460453f5e70
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Jan 10 12:44:31 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4eb3ae89cc0adf08bbfe502fb5854460453f5e70 [^]
Fixed issue 19406: Added 'connection security' and 'port' to 'Email Configuration' tab
---
M src-db/database/model/tables/C_POC_CONFIGURATION.xml
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/erpCommon/businessUtility/EMail.java
M src/org/openbravo/erpCommon/utility/poc/EmailManager.java
M src/org/openbravo/erpCommon/utility/poc/Poc_Configuration_data.xsql
A src/org/openbravo/erpCommon/ad_callouts/EmailConfiguration_Port.java
---
|
|
|
(0044174)
|
hgbot
|
2012-01-10 13:11
|
|
|
|
|
|
|
|
|
|
|
Code reviewed and tested on pi@a44439184a15 |
|