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

Skip webforms that had CiviCRM form processing disabled #3

Open
herbdool opened this issue Apr 3, 2023 · 1 comment · May be fixed by #6
Open

Skip webforms that had CiviCRM form processing disabled #3

herbdool opened this issue Apr 3, 2023 · 1 comment · May be fixed by #6

Comments

@herbdool
Copy link

herbdool commented Apr 3, 2023

In addCiviHandler() it will skip a webform if there are no element keys that include civicrm. But I've found some webforms where getWebformCiviCRMData() returns NULL. In each case the CiviCRM processing was turned off.

What worked for me was adding:

    if (empty($webformData)) {
      return;
    }
herbdool added a commit to freeform/webform_civicrm_migrate that referenced this issue Apr 3, 2023
herbdool added a commit to freeform/webform_civicrm_migrate that referenced this issue Apr 4, 2023
@herbdool herbdool linked a pull request Apr 4, 2023 that will close this issue
@herbdool
Copy link
Author

herbdool commented Apr 4, 2023

Another PR: #6

jmcclelland pushed a commit to progressivetech/webform_civicrm_migrate that referenced this issue May 7, 2024
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 a pull request may close this issue.

1 participant