verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 69 forks source link

User mapping field submission fails #1858

Closed atelierbim closed 1 month ago

atelierbim commented 1 month ago

Describe the bug

Setup a register form mapped to users. The form submits but the queue displays an error: Failed to trigger integration: ["Element integration failed for submission “607063”. Error: verbb\formie\base\Integration::getFieldMappingValues(): Argument #2 ($fieldMapping) must be of type array, null given, called in \/var\/www\/html\/vendor\/verbb\/formie\/src\/integrations\/elements\/User.php on line 213 \/var\/www\/html\/vendor\/verbb\/formie\/src\/base\/Integration.php:493"].

Steps to reproduce

  1. Create a register form
  2. Front end fill the form and submit
  3. The submission appears on the Formie Submissions but not in Craft's user group.
Capture d’écran 2024-05-01 à 15 07 03 Capture d’écran 2024-05-01 à 15 07 17 Capture d’écran 2024-05-01 à 15 07 44 Capture d’écran 2024-05-01 à 15 08 01 Capture d’écran 2024-05-01 à 15 08 24 Capture d’écran 2024-05-01 à 15 08 35 Capture d’écran 2024-05-01 à 15 08 43

Form settings

Craft CMS version

5.1.0

Plugin version

3.0.0-beta.9

Multi-site?

Yes

Additional context

No response

engram-design commented 1 month ago

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.9".

engram-design commented 1 month ago

Updated in 3.0.0-beta.10