I made a usercontrol macro that simply allows users to upload files to the server and display the file path in a text box next to the upload button.
The problem is that the old macro I used redirected the page after the upload button had been clicked, and despite updating the macro, deleting the macro creating a new one, deleting the page and creating a new one, reloading the nodes, reloading the entire site the page still redirects, even though that code is long gone at this point. The page does not cache, the control does not cache so I'm not sure how it's still functioning incorrectly.
The macro strangely takes new functionality as well as old. The textbox that was added in the code is found on the page, this was added in the same version that the redirect was removed. How would I debug this?
Macro not functioning correctly
Hi,
I made a usercontrol macro that simply allows users to upload files to the server and display the file path in a text box next to the upload button.
The problem is that the old macro I used redirected the page after the upload button had been clicked, and despite updating the macro, deleting the macro creating a new one, deleting the page and creating a new one, reloading the nodes, reloading the entire site the page still redirects, even though that code is long gone at this point. The page does not cache, the control does not cache so I'm not sure how it's still functioning incorrectly.
Any ideas?
If you try to debug the new usercontrol macro does that get code get hit?
Jeroen
The macro strangely takes new functionality as well as old. The textbox that was added in the code is found on the page, this was added in the same version that the redirect was removed. How would I debug this?
This (paid) video might help: http://umbraco.com/help-and-support/video-tutorials/introduction-to-umbraco/developer-introduction/debugging.aspx
Jeroen
This might also help: http://www.enkelmedia.se/blogg/2012/11/7/debugging-with-umbraco.aspx
Jeroen
is working on a reply...