[MGNLFORM-2] Contactform / mail redirect doesn't work Created: 07/Nov/08  Updated: 27/Nov/13  Resolved: 13/Nov/08

Status: Closed
Project: Magnolia Form Module
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: Magnolia International Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   
Caused by: javax.jcr.RepositoryException: failed to resolve path http://www.google.com relative to /: 'http://www.google.com' is not a valid path. '/' not a valid name character.: 'http://www.google.com' is not a valid path. '/' not a valid name character.

And after fixing the sample contact to an internal page:

ERROR  info.magnolia.module.form.paragraphs.models.FormModel FormModel.java(execute:76) 07.11.2008 20:42:28  error validating form
java.lang.Exception: javax.jcr.PathNotFoundException: demo-project/contactform.html
	at info.magnolia.module.form.paragraphs.models.FormModel.redirect(FormModel.java:98)
	at info.magnolia.module.form.paragraphs.models.FormModel.execute(FormModel.java:69)
	at info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:76)

As a side note, I don't understand why would want to redirect to an external page ? (and that the sample content has an external url but the corresponding checkbox isnt checked )



 Comments   
Comment by Teresa Miyar [ 12/Nov/08 ]

forgot to click on external link for the sample, the external redirection was requested by philip, for the internal redirection wasn't using uuidlink control type, all working fine now.

Comment by Philipp Bracher [ 13/Nov/08 ]

The external link was mainly for thought to be used to post to an external url (not to redirect after the form has been processed by magnolia)

Comment by Teresa Miyar [ 14/Nov/08 ]

Ok, I'll remove it, redirection just to internal pages.

Comment by Christoph Meier [ 27/Nov/13 ]

it's fixed. and very old

Generated at Mon Feb 12 05:35:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.