Problem/Motivation
An error occurred when requesting "xero_contact" from an invalid declaration of the "BrandingTheme" field.
Steps to reproduce
\Drupal::service('xero.query')->setType('xero_contact')->addCondition('Name', $client_name)->execute();
The $client_name must have "BrandingTheme" assigned
Proposed resolution
Patch Proposed
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Missing_BrandingTheme_when_requesting_Contact_3437835.patch | 1.13 KB | usandul |
Issue fork xero-3437835
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
usandul commentedComment #4
mradcliffeI reviewed the API, and the patch makes sense.
drupal.org uses GitLab CI now and xero api module has been converted to its use. That means patch files won't be run through tests. I created an issue fork.
Can you commit your patch to the issue fork branch?
Comment #5
mradcliffeComment #7
mradcliffeComment #8
mradcliffeChanges to Needs work because of failed test.
Comment #9
mradcliffeI resolved the test failures in the merge request. I'll let this sit for a week or so.
Comment #11
mradcliffe