Hi,
I’m seeing an unexpected NULL in a SettingsAPI query. Here’s a phpunit test based on your Contact sample
public function testisApplicationEnabled() {
try {
$result = $this->settingsApi->isApplicationEnabled()->getEnabled();
$this->assertTrue($result);
} catch (\Exception $e) {
echo 'Exception when calling SettingsApi->isApplicationEnabled: ', $e->getMessage(), PHP_EOL;
}
}
The test run
Exception when calling SettingsApi->isApplicationEnabled: Failed asserting that null is true.
Thanks for any pointers
Hi Jeffrey, I can confirm this is a bug. I’ll bring it up internally and will let you know once it’s resolved.
@OmarAlmonte
Just to be clear: Thank you for your research on this topic.
Please pass along the following response to Thryv management:
Why are yoiu treating us to an uncompensated year to find and report bugs in your shovel-ready API? Why must I now build technical debt into new code to work with this wretched mess?
I’m not a great fan of Scott Adams, but to paraphrase a Dilbert comment to Wally: “Sales is the nose. Engineering is the snot.”
[Edited to add]
As a coda to this rant, I urge readers to consider Cory Doctorow’s latest essay:
1 Like