On Mon, May 7, 2018 at 5:48 PM, Thomas Mortagne <[email protected]> wrote:
On Mon, May 7, 2018 at 4:33 PM, Vincent Massol <[email protected]> wrote:
Hi,
It seems we forgot to handle mail template pages. For example XWiki.ResetPasswordMailContent
We need to decide the type: demo, default, etc.
WDYT about demo (i.e. as soon as the user starts modifying it, we don’t upgrade it anymore)?
Thanks -Vincent
All types with allowed edit prevent upgrade.
I think a more important question is: is it OK to delete it ?
Seems to me delete is not OK in this context. Unless it's possible to change the mail template used for password reset ?
If someone delete it, can't we auto-generate it blank from code? I also see the templates (validation, confirmation, invitation, etc.) as demo. They should be modified by the user. We just need to make sure they don't contain too much code / velocity variables definitions that could benefit from an upgrade.
-- Thomas Mortagne