Description
Which Umbraco version are you using?
15.3.0
Bug summary
I have content "Foo" with Umbraco.MultiNodeTreePicker property. I add many nodes (77) into this property programmatically.
While I am opening the "Foo" content, I am facing the error "The request filtering module is configured to deny a request where the query string is too long.":
As you can see, I am using the IIS server, and the request is not matching to its defaults. I can increase the request length, but as you can see, it is not secure.
I think we should change the request from GET with a long parameters list to something else, maybe POST with json payload or we should provide paging for Umbraco.MultiNodeTreePicker (I think it will be the best solution). It will fix the problem with the request length and also the rendering problem with a huge amount of picked content.
Specifics
Use default IIS server for testing
Steps to reproduce
- Fresh umbraco install
- Create Doc Type "TestDocType" with Umbraco.MultiNodeTreePicker property
- Create content node from "TestDocType"
- Fill the content's property with a lot of values (77 or more).
- Try to open the content node
Expected result / actual result
Expected: there is no error in logs, and there is no notification error
Actual: there is an error inthe console log and "Api error"
This item has been added to our backlog AB#51345