-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"URI too long" error on publication of large number of keys #45
Comments
Using a POST is reasonable here (also for semantic reasons). |
@jmagdrod will have to validate on how we can make this work, if it would be a direct publication without a dialog in between, the POST would be very easy to implement, but now it's using the action type foundation.dialog, which doesn't support opening it with a POST (that I know of), so will have to rewrite it a bit from scratch. I wont have the time to fix it this week so if it's urgent I'm always open for contributions! |
There is
and returns a JSON response (for exposing some useful error message to the user in case of errors). Also you can decide to block until the replication is done (via Both require obviously some glue code because they are not providing any dialog/ui functionality. |
Looking at the AEM code for making the dialog on quick publish, shouldnt be too hard to make the glue 😄
|
When the dictionary contains a large number of keys and the user selects all entries and publish them, the following error is thrown: URI too long
This request is using a GET method adding all the entries as query parameters which goes over the URI length limit.
The text was updated successfully, but these errors were encountered: