This project is read-only.

Redirect to Home after Comment Added

Topics: General
Jun 28, 2013 at 6:26 AM
Hey guys - upgrading a site to 1.7 (yay!), and I'm experiencing a funny behaviour with comments - users are being redirected to the home page after the comment is submitted. No message is appearing either. The comment is being added, but obviously not with the intended behaviour.

This is a comment attached to a custom form submission - that's how I implemented a "classified ad" :-)

Works as expected in 1.5, so this is unexpected ... It's something to do with the defaultUrl property being set to empty, but I'm stumped as to why.


Jun 28, 2013 at 3:32 PM
I should point out that comments work as expected on the other content types on the site - it's just those associated with Orchard.CustomForms submissions. Any thoughts / insight appreciated!

Looking forward to getting a 1.7 deployment out in the wild ...