[
http://jira.magnolia-cms.com/browse/MGNLPUR-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Gange updated MGNLPUR-83:
---------------------------------
Description:
This issue can best be reproduced using the demo site. Here are the steps:
1. Log into demo author
2. Using the JCR browser (website) navigate to:
/demo-project/members-area/registration/content/0
Look at the property confirmContentTypehtml
It should have the following:
{noformat}
[#assign pur = ctx.pur][#assign targetPage
="/demo-project/members-area/registration/double-opt-in-confirmation.html"?url('ISO-8859-1')][#assign
href="${pur.baseUrl}/.magnolia/pages/user-validation.html?userId=${pur.userId}®Stamp=${pur.regStamp}&targetPage=${targetPage}"]<html><body><p>Dear
${fullName},</p><p>Please follow this link in order to validate your account:
<a href="${href}">Verify your user</a></p><p>Thank you !</p></body></html>
{noformat}
3. Now, open the page: /demo-project/members-area/registration
4. Edit the "User Registration Form" in the "Content" section
5. When the dialog opens, simply click "Save"
6. Repeat step 2 and observe the property confirmContentTypehtml
It will now have the following:
{noformat}
<p>Dear ${fullName},</p> <p>Please follow this link in order to validate your
account: <a
href="${link:{uuid:{8417fe0e-8f61-4d21-bdf1-c9c23b13ba14},repository:{website},handle:{/demo-project/members-area/registration/content/0/},nodeData:{},extension:{html}}}">Verify
your user</a></p> <p>Thank you !</p>
{noformat}
This creates an issue if the registration page gets activated. If the email
confirmation is activated in the state that is shown in step 6 it will cause an
internal server error if someone tries to register for an account. This is due
to a freemarker parse error at the colon right after ${link.
The root of this problem is that we cannot use the fckEditor for editing the
confirmation email. If freemarker is too be use here we need to use the code
editor so that the freemarker is not stripped/changed.
was:
This issue can best be reproduced using the demo site. Here are the steps:
1. Log into demo author
2. Using the JCR browser (website) navigate to:
/demo-project/members-area/registration/content/0
Look at the property confirmContentTypehtml
It should have the following:
[#assign pur = ctx.pur][#assign targetPage
="/demo-project/members-area/registration/double-opt-in-confirmation.html"?url('ISO-8859-1')][#assign
href="${pur.baseUrl}/.magnolia/pages/user-validation.html?userId=${pur.userId}®Stamp=${pur.regStamp}&targetPage=${targetPage}"]<html><body><p>Dear
${fullName},</p><p>Please follow this link in order to validate your account:
<a href="${href}">Verify your user</a></p><p>Thank you !</p></body></html>
3. Now, open the page: /demo-project/members-area/registration
4. Edit the "User Registration Form" in the "Content" section
5. When the dialog opens, simply click "Save"
6. Repeat step 2 and observe the property confirmContentTypehtml
It will now have the following:
<p>Dear ${fullName},</p> <p>Please follow this link in order to validate your
account: <a
href="${link:{uuid:{8417fe0e-8f61-4d21-bdf1-c9c23b13ba14},repository:{website},handle:{/demo-project/members-area/registration/content/0/},nodeData:{},extension:{html}}}">Verify
your user</a></p> <p>Thank you !</p>
This creates an issue if the registration page gets activated. If the email
confirmation is activated in the state that is shown in step 6 it will cause an
internal server error if someone tries to register for an account. This is due
to a freemarker parse error at the colon right after ${link.
The root of this problem is that we cannot use the fckEditor for editing the
confirmation email. If freemarker is too be use here we need to use the code
editor so that the freemarker is not stripped/changed.
> Change the editor used for the Confirmation E-Mail
> --------------------------------------------------
>
> Key: MGNLPUR-83
> URL: http://jira.magnolia-cms.com/browse/MGNLPUR-83
> Project: Magnolia Public User Registration
> Issue Type: Bug
> Affects Versions: 1.4.2
> Reporter: Richard Gange
> Assignee: Grégory Joseph
>
> This issue can best be reproduced using the demo site. Here are the steps:
> 1. Log into demo author
> 2. Using the JCR browser (website) navigate to:
> /demo-project/members-area/registration/content/0
> Look at the property confirmContentTypehtml
> It should have the following:
> {noformat}
> [#assign pur = ctx.pur][#assign targetPage
> ="/demo-project/members-area/registration/double-opt-in-confirmation.html"?url('ISO-8859-1')][#assign
>
> href="${pur.baseUrl}/.magnolia/pages/user-validation.html?userId=${pur.userId}®Stamp=${pur.regStamp}&targetPage=${targetPage}"]<html><body><p>Dear
> ${fullName},</p><p>Please follow this link in order to validate your
> account: <a href="${href}">Verify your user</a></p><p>Thank you
> !</p></body></html>
> {noformat}
> 3. Now, open the page: /demo-project/members-area/registration
> 4. Edit the "User Registration Form" in the "Content" section
> 5. When the dialog opens, simply click "Save"
> 6. Repeat step 2 and observe the property confirmContentTypehtml
> It will now have the following:
> {noformat}
> <p>Dear ${fullName},</p> <p>Please follow this link in order to validate your
> account: <a
> href="${link:{uuid:{8417fe0e-8f61-4d21-bdf1-c9c23b13ba14},repository:{website},handle:{/demo-project/members-area/registration/content/0/},nodeData:{},extension:{html}}}">Verify
> your user</a></p> <p>Thank you !</p>
> {noformat}
> This creates an issue if the registration page gets activated. If the email
> confirmation is activated in the state that is shown in step 6 it will cause
> an internal server error if someone tries to register for an account. This is
> due to a freemarker parse error at the colon right after ${link.
> The root of this problem is that we cannot use the fckEditor for editing the
> confirmation email. If freemarker is too be use here we need to use the code
> editor so that the freemarker is not stripped/changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------