[oC7 RC1] Sharing Mail template didn't work
Expected behavior Receive configured email template
Actual behavior Received default template
Steps
- in the admin page, change the default template for sharing emails as follows:
- Configure the ability to send email notifications when sharing files
- Share a file/folder and wait for the email
- Email came is default template:
Hey there,
just letting you know that ser72 shared share 2 with you.
View it!
Cheers!
--
ownCloud - web services under your control
https://owncloud.org
Potential log info:
Debug mail Mail from ser72 ([email protected]) to: comm_7rc1([email protected]) subject: ser72 shared »share 2« with you 2014-07-10T13:54:43+00:00
Debug core OC_Image->fixOrientation() Orientation: -1 2014-07-10T13:54:26+00:00
Debug core OC_Image->fixOrientation() No readable file path set. 2014-07-10T13:54:26+00:00
Debug core OC_Image::loadFromFileHandle(): Trying 2014-07-10T13:54:26+00:00
Error PHP Declaration of OCA\TemplateEditor\Controller\AdminSettingsController::render() should be compatible with that of OCP\AppFramework\Controller::render() at /var/www/owncloud7RC1/apps/templateeditor/controller/adminsettingscontroller.php#31 2014-07-10T13:53:57+00:00
Error PHP Declaration of OCA\TemplateEditor\Controller\AdminSettingsController::render() should be compatible with that of OCP\AppFramework\Controller::render() at /var/www/owncloud7RC1/apps/templateeditor/controller/adminsettingscontroller.php#31 2014-07-10T13:53:54+00:00
Error PHP Declaration of OCA\TemplateEditor\Controller\AdminSettingsController::render() should be compatible with that of OCP\AppFramework\Controller::render() at /var/www/owncloud7RC1/apps/templateeditor/controller/adminsettingscontroller.php#31 2014-07-10T13:53:35+00:00
Error PHP Declaration of OCA\TemplateEditor\Controller\AdminSettingsController::render() should be compatible with that of OCP\AppFramework\Controller::render() at /var/www/owncloud7RC1/apps/templateeditor/controller/adminsettingscontroller.php#31 2014-07-10T13:53:14+00:00
Debug webdav Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found 2014-07-10T13:53:09+00:00
Error PHP Declaration of OCA\TemplateEditor\Controller\AdminSettingsController::render() should be compatible with that of OCP\AppFramework\Controller::render() at /var/www/owncloud7RC1/apps/templateeditor/controller/adminsettingscontroller.php#31 2014-07-10T13:52:53+00:00
@butonic
@ser72 the template editor lives in this repo: https://github.com/owncloud/templateeditor
@ser72 Did you save the template? I just tested this with the html and althttp templates and both work fine. I'll look into the log errors.
log errors fixed in PR
@butonic
Yes I did save the template. Figured that trick out when I went to edit it again and my edits weren't there... :)
@ser72 so ... does the problem still exist?
@butonic
Yes the problem still exists after I pressed the SAVE button.
@MTRichards @butonic Still broken Daily 9/5/14
Appears there are two email templates -- "Sharing Email" and "Sharing Email HTTP"
Sharing Email HTTP modifications work. Sharing Email don't.
- Why are there two there?
- Which one should be used?
@butonic and one more for you :-)
@ser72
- Why are there two there?
HTML emails contain a plain text alternative, which is what 'Sharing Email' is used for (see http://en.wikipedia.org/wiki/HTML_email#Multi-part_formats). Maybe we should call the two "Sharing Email (HTML)" and "Sharing Email (plain text fallback)"?
- Which one should be used?
Both should be customized
I'll look into the issue.
Template names tracked in https://github.com/owncloud/templateeditor/issues/8, fixed, but translations need to be backported to stable7
@butonic
I'm trying to decipher this one ;) Is there a fix here and if so did it go into stable 7?
Thanks!
@jnfrmarks the fixed names are in the stable7 branch and will be in the next release. Although without translations. If we want to leave them out, this can be closed.