Skip to content
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

Fix relationship fieldtype request query length limit #4484

Merged
merged 2 commits into from
Oct 13, 2021

Conversation

jesseleite
Copy link
Member

@jesseleite jesseleite commented Oct 13, 2021

To test...

  1. Create 250 entries.
    collect(range(1, 250))->each(function ($number) {
        \Statamic\Facades\Entry::make()
            ->slug('entry-'.$number)
            ->data(['title' => 'Entry '.$number])
            ->collection('articles')
            ->save();
    });
    
  2. Select them all using an entries relationship fieldtype.
  3. Save entry and ensure no error.

Closes #4264

@jasonvarga jasonvarga merged commit 5d6cd66 into 3.2 Oct 13, 2021
@jasonvarga jasonvarga deleted the fix/related-request-query-length branch October 13, 2021 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Related items limit exceeded due to GET request query length
2 participants