We recently updated from version 2.3.4 to 2.9.12 and in doing so it broke domain propagation.
return platformHttp.get(platformUrl)
.then(function () {
return platformHttp.get(platformUrl);
});
So within this code, our http handler accesses process.domain, within the first promise process.domain is defined and working correctly. But after the .then() process.domain no longer exists.
The only fix we could find was downgrading our installation to 2.8.2 because we needed the changes from there. I'm not sure which version broke it, but it was something between 2.8.2 and 2.9.12. Just thought I should let you all know, let me know if that wasn't clear or if you have any other questions.
We recently updated from version 2.3.4 to 2.9.12 and in doing so it broke domain propagation.
So within this code, our http handler accesses process.domain, within the first promise process.domain is defined and working correctly. But after the
.then()process.domain no longer exists.The only fix we could find was downgrading our installation to 2.8.2 because we needed the changes from there. I'm not sure which version broke it, but it was something between 2.8.2 and 2.9.12. Just thought I should let you all know, let me know if that wasn't clear or if you have any other questions.