strakers / zendesk-drupal-webform

Adds the ability to create Zendesk tickets from Drupal Webforms
https://packagist.org/packages/strakez/zendesk-webform
MIT License
2 stars 4 forks source link

Issue adding #27

Closed strakers closed 5 years ago

strakers commented 5 years ago

Describe the bug When attempting to add a Zendesk handler, the AJAX call fails.

To Reproduce Steps to reproduce the behavior:

  1. Enable strakez/zendesk-webform module
  2. Save configurations
  3. Navigate to a webform's settings and attach a Zendesk handler
  4. After the loading spinner completes, no handler window appears.

Expected behavior Upon clicking the button to add a handler, a new handler window should appear.

Additional context Add any other context about the problem here.

strakers commented 5 years ago

This ended up being a user error (me being the user).

I tested this via my setup on Pantheon, which requires installing the module on a local instance of our Drupal codebase, committing my code via Git, and then pushing to Pantheon's Gitlab repo. When installing the module however, there were two vendor files which did not get included in the repo: zendesk/zendesk_api_client and mucklo/inflect.

This was the source of my blunder, but I'm documenting this here, in the off-chance someone else decides to use this library and comes across the same issue.