πŸ‡ΊπŸ‡ΈUnited States @elisseck

San Diego
Account created on 29 April 2016, over 8 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

Hi all,

We resolved this issue by upping the PHP directive max_input_vars. The issue is related to the number of inputs submitted by the build form when you have a large number of groups. You'll need a max_input_vars value of 3 * $number_of_groups + a handful for the rest of the build form items. The default is 1000 so I'd imagine folks with over 330 groups or so are hitting this.

Changing max_input_vars is fine for us... but if I had to propose a solution for folks that can't for whatever reason... it would probably be either "only submit changed values" or "some sort of groups filtering like on the permissions page" - where I know Drupal has run into this issue before.

I'm not that familiar with modern drupal webform so i'm not sure how viable either of those would be.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

Thanks @chetan-11 @petednz and sorry for the wait! I am not sure why but I don't think this sent me an email notification...

Pretty easy merge. You should now get 1.0.2 with composer require 'drupal/civicrm_afform_block:^1.0' or equivalent.

Let me know if you have any trouble!

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

elisseck β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

Setting this to closed (cannot reproduce).

Please feel free to re-open with more information if you're still experiencing this!

πŸ‡ΊπŸ‡ΈUnited States elisseck San Diego

Thanks for reporting! @CsarR I need more information to reproduce, version of Drupal, any extra steps/packaged search etc.

Steps I took to reproduce:

  • Install new blank civicrm buildkit site (gives Drupal 9.5.2 with demo CiviCRM 5.57.1) `civibuild create d95571 --type drupal9-demo --url d95571.localhost --civi-ver 5.57.1`
  • Install this module `composer require drupal/civicrm_afform_block`
  • Enable this module `drush en -y civicrm_afform_block`
  • Go directly to "structure > block layout > place block" and place a CiviCRM Afform Block. The only choice is "Grant" as packaged. Place the block in a region and save.
  • Navigate to home page, Grant block appears for me.
Production build 0.71.5 2024