Hello, I even tried to delete the template in the tenant and recreate it and I still receive the same old mail.
Regards 2017-01-19 10:27 GMT+01:00 Koné Alioune Badara <kon...@etna-alternance.net>: > Hello, > > Thank you for your answers. > > I tried by changing in the super tenant and the tenant under too. But I > still having the old version of my template sent by mail, I tried to > restart the application in case of there was any cache but still the same > result. > > Regards. > > 2017-01-18 17:49 GMT+01:00 Farasath Ahamed <farasa...@wso2.com>: > >> Hi, >> >> I tested to check whether the changes done through the UI are reflected >> in the backend in Email Template Management component. >> >> 1. Created a tenant >> 2. Changed an Email Template (AskPassword) and saved it. >> 3. Used I18nEmailMgtConfigService[1] to retrieve all templates available >> for the tenant. >> 4. Verified that the changes made were reflected in the template. >> >> I was able to confirm that the changes made from UI were there in the >> backend(registry). >> >> @Kone >> As suggested by Isura seems like in the flow you are trying out the >> templates are retrieved from super tenant domain. You can confirm this by >> making changes to AskPassword template in both super tenant and tenant >> template by adding the tenant domain somewhere in the template that you can >> identify which template was used in the flow. >> >> >> [1] https://github.com/wso2-extensions/identity-event-handle >> r-notification/blob/master/components/email-mgt/org.wso2. >> carbon.email.mgt/src/main/java/org/wso2/carbon/email/ >> mgt/I18nEmailMgtConfigService.java >> >> >> Regards, >> Farasath Ahamed >> Software Engineer, WSO2 Inc.; http://wso2.com >> Mobile: +94777603866 >> Blog: blog.farazath.com >> Twitter: @farazath619 <https://twitter.com/farazath619> >> <http://wso2.com/signature> >> >> >> >> On Wed, Jan 18, 2017 at 6:42 PM, Koné Alioune Badara < >> kon...@etna-alternance.net> wrote: >> >>> Hello, >>> The steps I followed are: >>> >>> As a super admin I create a new tenant. >>> Then I log in the new tenant with its admin credentilas. >>> Then I go the email template for the askPassword, change the IP address >>> in the url and save. >>> I create a new user with a mail sent with a link. >>> In the mail sent, the link still have the old IP address. >>> >>> Note: I'm using the 5.3.0 rc2. >>> >>> Regards. >>> >>> 2017-01-18 12:05 GMT+01:00 Isura Karunaratne <is...@wso2.com>: >>> >>>> Hi Kone, >>>> >>>> Can you explain the steps you followed? Looks like the operation is >>>> triggered for the super tenant. What is the Identity Sever version you >>>> tested ? >>>> >>>> Thanks >>>> Isura. >>>> >>>> >>>> *Isura Dilhara Karunaratne* >>>> Senior Software Engineer | WSO2 >>>> Email: is...@wso2.com >>>> Mob : +94 772 254 810 <+94%2077%20225%204810> >>>> Blog : http://isurad.blogspot.com/ >>>> >>>> >>>> >>>> >>>> On Wed, Jan 18, 2017 at 4:29 PM, Koné Alioune Badara < >>>> kon...@etna-alternance.net> wrote: >>>> >>>>> Hello, >>>>> >>>>> I got that, but when I'm changing in the template in the tenant, it >>>>> still taking the old one, I have a message that says it is saved, but when >>>>> I received the email, it is the template that was at the creation of the >>>>> tenant. >>>>> >>>>> Regards >>>>> >>>>> 2017-01-18 11:56 GMT+01:00 Chamila Wijayarathna < >>>>> cdwijayarat...@gmail.com>: >>>>> >>>>>> Hi Kone, >>>>>> >>>>>> When you change email template in management console, it will only >>>>>> affect the specific tenant you do the operation. If you change email >>>>>> templates by login to super tenant, those changes will be only available >>>>>> in >>>>>> super tenant. >>>>>> >>>>>> If you want to change email templates permanently for all tenants, >>>>>> you can do this by editing email templates at >>>>>> repository/conf/email/email-admin-config.xml. >>>>>> These changes will affect all tenants that you create after changing the >>>>>> XML and restarting the server. However, AFAIK tenant you created before >>>>>> changing the XML will still have old templates. >>>>>> >>>>>> Thank You! >>>>>> >>>>>> On Wed, Jan 18, 2017 at 9:44 PM, Koné Alioune Badara < >>>>>> kon...@etna-alternance.net> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I'm trying to modify the email templates in the Wso2 IS management >>>>>>> console but it is not very been successful. I tried to change it and the >>>>>>> save does work but when I receive the email it is still the old one. >>>>>>> Even >>>>>>> when I change the super tenant's one and create a new tenant, it sill >>>>>>> take >>>>>>> the old templates. So i'm asking how can I change the email templates? >>>>>>> >>>>>>> Regards. >>>>>>> >>>>>>> -- >>>>>>> Cordialement, >>>>>>> >>>>>>> Alioune B KONÉ. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Dev mailing list >>>>>>> Dev@wso2.org >>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chamila Dilshan Wijayarathna, >>>>>> PhD Research Student >>>>>> The University of New South Wales (UNSW Canberra) >>>>>> Australian Centre for Cyber Security >>>>>> Australian Defence Force Academy >>>>>> PO Box 7916, Canberra BA ACT 2610 >>>>>> Australia >>>>>> Mobile:(+61)416895795 <+61%20416%20895%20795> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Cordialement, >>>>> >>>>> Alioune B KONÉ. >>>>> MASTER ETNA 2016. >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>> >>> >>> -- >>> Cordialement, >>> >>> Alioune B KONÉ. >>> MASTER ETNA 2016. >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> > > > -- > Cordialement, > > Alioune B KONÉ. > MASTER ETNA 2016. > -- Cordialement, Alioune B KONÉ. MASTER ETNA 2016.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev