question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] include_all_form_fields causes maximum size allowed in big forms

See original GitHub issue

Bug report

What I did

I have 50 fields in the create operation, one of them is select2_from_ajax with include_all_form_fields.

What I expected to happen

I expect to get items from the Ajax request.

What happened

The response is “414, Request-URI Too Large, The request URL is over the maximum size allowed!”.

What I’ve already tried to fix it

As I see, filling the form with long texts causes the error because it include_all_form_fields, so I suggest adding an option like include_dependencies_form_fields to include only the related fields.

Is it a bug in the latest version of Backpack?

After I run composer update backpack/crud the bug… is it still there?

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

BACKPACK VERSION:

5.1.0@9e1de794137ceb1ade1fa35e3b9366f97285efb3

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tabacitucommented, Jul 14, 2022

@promatik totally - submit a PR changing “GET” to “POST” please, on the v6 board.

1reaction
tabacitucommented, Jun 29, 2022

More than that… everywhere. I’d say:

Basically everywhere we teach people to use GET for this… we teach them to use POST instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Reason MS Access Forms and Reports are Limited to 22 ...
With today's large monitors, many Access developers have bumped into the 22" maximum form width. But do you know why it's not 21"...
Read more >
javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >
JavaScript RangeError: Maximum Call Stack Size Exceeded
The JavaScript RangeError: Maximum call stack size exceeded is an error that occurs when there are too many function calls, or if a...
Read more >
Maximum call stack size exceeded when require/load very big ...
The json file size is 21M, while its data structure is very simple. Steps to reproduce the bug: yarn start; start an android...
Read more >
JavaScript Error: Maximum Call Stack Size Exceeded
Now that you know a little bit about where this error falls within the scope of JavaScript errors, let's continue on to what...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found