Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When we enter unusually long content into a macro text field the backend seems to hang.
Has anyone else experiecned this issue and perhaps can suggest a fix?
We are using 6.1.5
I should also mention that the macro does allow you to enter large amounts of content which is displayed on the site.
The issue occurs when trying to open the macro properties after saving the long content.
OK, I have narrowed the issue down to /umbraco/plugins/tinymce3/insertMacro.aspx throwing a 404.
Any help is much appreciated.
How long is unusually long (100s of character, 1000s)? What other parameters does the macro have? What does the actual macro do? Does the macro render slowly on the front end too, or is this issue JUST when you add the macro in the Richtext Editor?
Have you tried with less text? Is there a specific amount of text that causes the issue?
You say you've narrowed the issue down to the insertMacro page throwing a 404. Is there a specific line number that you've noticed the error on? Do you have a stack trace for the 404?
You need to provide a bit more information if you want any meaningful help!
If you can provide an example of the kind of text that's causing the issue, we'll be able to try and repo your issue.
The error can be found below:
Failed to load resource: the server responded with a status of 404 (Not Found)
The macro takes user content and simply formats it out to the front end. The content is plain text.
I know this is an old post but I've just run into the problem in 7.1.4.
I'm building a macro that allows the user to paste in code from 3rd party widgets. It takes a single parameter from a text area.
Just like the original poster, the macro actually works, but when it's inserted (or edited) from the backend it calls /umbraco/backoffice/UmbracoApi/Macro/GetMacroResultAsHtmlForEditor which returns a 404 if the text in the parameter text area is too long. It works if the text is shorter.
I think the 404 is happening because it's hitting the url limits imposed by the browsers/web servers/etc. The longest url I could make work was 2138 characters (for the entire url) which is over the max url length commonly advertised for IE.
My question though... should the GetMacroResultAsHtmlForEditor even be running if the macro is not set to display in the RTE? Since the macro appears to work, I'm only trying to prevent the scary red 404 message from popping up.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted