Skip to content

Unable to use Umbraco.MultiNodeTreePicker with a lot of picked values #18822

Closed
@PeterKvayt

Description

@PeterKvayt

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.":

Image

Image

Image

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

Image

Steps to reproduce

  1. Fresh umbraco install
  2. Create Doc Type "TestDocType" with Umbraco.MultiNodeTreePicker property
  3. Create content node from "TestDocType"
  4. Fill the content's property with a lot of values (77 or more).
  5. 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"

Image


This item has been added to our backlog AB#51345

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions