[ 
https://issues.apache.org/jira/browse/OFBIZ-3894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265653#comment-16265653
 ] 

Swapnil M Mane commented on OFBIZ-3894:
---------------------------------------

Thanks gentlemen for such a nice discussion and [~soledad] for the patch (very 
good work)

I would suggest, we should go in baby steps for implementing this by creating 
sub tickets. This will be helpful for reviewing and reduce the chances of 
breaking anything. 
We can follow proceed with these steps 

1.) Entity related changes
Update the existing entities by adding new required attributes.
(We will remove the unused fields in the 4rth step)

e.g. ProductStoreEmailSetting will have following more attributes
emailTemplateSettingId
fromDate
thruDate

2.) Create the new screens to manage the product store's mail setting as per 
our new model.

3.) Update the all the send mail services to honor our new model.

4.) Will remove the unused fields from the entity.

5.) Document the migration steps.

The plan is first we will prepare all the things required for our 
implementation, which will not break anything.
Then finally improve the send mail services code.

Please let me know your thoughts this.

Thanks!

> Refactor Email handling
> -----------------------
>
>                 Key: OFBIZ-3894
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3894
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: BJ Freeman
>            Assignee: Erwan de FERRIERES
>            Priority: Minor
>         Attachments: OFBIZ-3894.patch, OFBIZ-3894.patch, OFBIZ-3894.patch, 
> OFBIZ-3894.patch
>
>   Original Estimate: 1,344h
>  Remaining Estimate: 1,344h
>
> with the addition of the Website for each component 
> 1) create product store for Order entry, or use the B2C product store.
> 2) move the email  widgets from ecommerce to order compontent.
> 3) modify the seed data so that Order entry has it own emails from order 
> component.this would be to add emails to 
> note: as I go through the different items  this is turning out to be a bigger 
> project than I first anticipated.
> so consider this so far just ideas.
> Maybe break down in to small tasks as I have time to do something.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to