Skip to content

Fix missing financial_account_id for recurring contributions #2027

Fix missing financial_account_id for recurring contributions

Fix missing financial_account_id for recurring contributions #2027

Triggered via pull request July 31, 2023 15:53
Status Failure
Total duration 1h 46m 22s
Artifacts 1

main.yml

on: pull_request
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

17 errors
Drupal 10.0.* | CiviCRM dev-master
Process completed with exit code 2.
Drupal 9.5.* | CiviCRM 5.58.*
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.58.*
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(3) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(3) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(1.75) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(1.75) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.58.*
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.58.*
Process completed with exit code 2.
Drupal 9.5.* | CiviCRM 5.60.x-dev
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.60.x-dev
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(3) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(3) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(1.75) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(1.75) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.60.x-dev
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM 5.60.x-dev
Process completed with exit code 2.
Drupal 9.5.* | CiviCRM dev-master
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM dev-master
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(3) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(3) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(1.75) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(1.75) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM dev-master
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 597) Drupal\Core\Form\FormBuilder->processForm() (Line: 325) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 718) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.5.* | CiviCRM dev-master
Process completed with exit code 2.
Drupal 9.4.* | CiviCRM 5.57.*
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 592) Drupal\Core\Form\FormBuilder->processForm() (Line: 320) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 709) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.4.* | CiviCRM 5.57.*
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(3) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(3) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(1.75) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(1.75) ["entity_id"]=> int(1) ["contribution_id"]=> int(1) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 592) Drupal\Core\Form\FormBuilder->processForm() (Line: 320) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 709) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.4.* | CiviCRM 5.57.*
Failed asserting that 'array(11) { ["qty"]=> int(1) ["unit_price"]=> float(10) ["financial_type_id"]=> string(1) "1" ["label"]=> string(19) "Contribution Amount" ["element"]=> string(24) "civicrm_1_contribution_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(10) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } array(11) { ["qty"]=> int(1) ["unit_price"]=> float(20) ["financial_type_id"]=> string(1) "1" ["label"]=> string(16) "Line Item Amount" ["element"]=> string(20) "civicrm_1_lineitem_1" ["entity_table"]=> string(20) "civicrm_contribution" ["line_total"]=> float(20) ["entity_id"]=> int(2) ["contribution_id"]=> int(2) ["price_field_id"]=> int(1) ["price_field_value_id"]=> int(1) } The website encountered an unexpected error. Please try again later. Drupal\Core\Entity\EntityStorageException: DB Error: already exists in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php). Drupal\webform_civicrm\Utils->wf_civicrm_api() (Line: 2380) Drupal\webform_civicrm\WebformCivicrmPostProcess->processContribution() (Line: 308) Drupal\webform_civicrm\WebformCivicrmPostProcess->postSave() (Line: 153) Drupal\webform_civicrm\Plugin\WebformHandler\CivicrmWebformHandler->postSave() (Line: 2757) Drupal\webform\Entity\Webform->invokeHandlers() (Line: 1212) Drupal\webform\WebformSubmissionStorage->invokeWebformHandlers() (Line: 1120) Drupal\webform\WebformSubmissionStorage->doPostSave() (Line: 523) Drupal\Core\Entity\EntityStorageBase->save() (Line: 804) Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 983) Drupal\webform\WebformSubmissionStorage->save() (Line: 339) Drupal\Core\Entity\EntityBase->save() (Line: 901) Drupal\webform\Entity\WebformSubmission->save() (Line: 1995) Drupal\webform\WebformSubmissionForm->save() (Line: 1705) Drupal\webform\WebformSubmissionForm->wizardSubmit() (Line: 1666) Drupal\webform\WebformSubmissionForm->next() (Line: 1626) Drupal\webform\WebformSubmissionForm->submit() call_user_func_array() (Line: 114) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 592) Drupal\Core\Form\FormBuilder->processForm() (Line: 320) Drupal\Core\Form\FormBuilder->buildForm() (Line: 48) Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 1249) Drupal\webform\Entity\Webform->getSubmissionForm() (Line: 77) Drupal\webform\Controller\WebformEntityController->addForm() call_user_func_array() (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 709) Drupal\Core\DrupalKernel->handle() (Line: 19)' does not contain "The website encountered an unexpected error".
Drupal 9.4.* | CiviCRM 5.57.*
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
phpunit_browser_output Expired
354 MB