First of all, looks like an interesting package...
The only issue I have is with the use of a url querystring to delete pages! this would be a major security issue unless you have some way of protecting against unwanted malicious use via something like a login or confirmation email setup... Even then, I'd be nervous about such a device.
You're completely right, this is actually a big hack to workaround the problem the Umbraco core has with inherited document types deletion (it just does not do it). I'll adjust the package next week, I was thinking of moving this to a seperate file for the moment, just to give me the time to put in the proper code to run at uninstall.
If you want, you can easily remove that code from that macroscript, I should have the time to modify this tomorow. I'll keep you posted!
I uploaded version 1.1 to adjust that process, if users want to "trigger" now, they need file access and havt to edit that .cshtml file. This way the "feature" is still there and it's safe. Feel free to post comments!
http://www.yoursite.com/contests/?del=true ?!??
First of all, looks like an interesting package...
The only issue I have is with the use of a url querystring to delete pages! this would be a major security issue unless you have some way of protecting against unwanted malicious use via something like a login or confirmation email setup... Even then, I'd be nervous about such a device.
Hi Robert,
You're completely right, this is actually a big hack to workaround the problem the Umbraco core has with inherited document types deletion (it just does not do it). I'll adjust the package next week, I was thinking of moving this to a seperate file for the moment, just to give me the time to put in the proper code to run at uninstall.
If you want, you can easily remove that code from that macroscript, I should have the time to modify this tomorow. I'll keep you posted!
Thanks for the feedback!
Seb
Hi Robert,
I uploaded version 1.1 to adjust that process, if users want to "trigger" now, they need file access and havt to edit that .cshtml file. This way the "feature" is still there and it's safe. Feel free to post comments!
Thanks!
is working on a reply...