I’m not sure if it’s worth posting in JIRA now that you guys might be changing this anyways, but it doesn’t seem like rev 4402 fixed it. The setDirectory() error is gone, but it seems like MODX is still looking in the default/core processors directory, regardless of what I pass to setDirectory() in my script. It seems like line 87 in modconnectorrequest.class.php is the culprit (from a glance - I’m not sure):
$this->setDirectory($procDir);
Because we already have called setDirectory() from within our connector, then we call handleRequest() which calls prepareResponse() without a ’processors_path’ value in the passed array. So _directory is reset to the default processors path, which kinda undoes out previous call.
Maybe remove the aforementioned line, or let us pass a $processors_path directly to handleRequest() and set the directory from there?