Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1372

Large POST to update group memberships fails

    XMLWordPrintable

    Details

    • Sprint:
      COmanage Sprint 1

      Description

      A large POST sent from the form rendered by /co_group_members/select/cogroup:<id>, which can happen when the number of memberships in the group is large, will cause the following error in the Apache error log file:

      PHP Warning: Unknown:
      Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.

      Since PHP truncates the incoming POST CakePHP sees that as tampering and sends the data to the blackhole.

      Increasing max_input_vars can help but a better solution is to change the form/view so that under normal circumstances the POST sent upstream does not need to be so large.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  benn.oshrin@at.internet2.edu Benn Oshrin
                  Reporter:
                  scott.koranda.2@at.internet2.edu Scott Koranda (ligo.org)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: