Closed
Description
Describe the bug
When deploying this package to orgs that do not have the Order object enabled, it fails.
Same to this:
To Reproduce
Steps to reproduce the behavior:
- Log in to a sandbox that does not have the order object enabled
- Try to deploy the package.
- See error
Expected behavior
The package should deploy correctly even when the order object is not enabled in the environment.
Screenshots and text of error observed
Deployment Complete
Failures:
deploy/classes/fflib_SObjectSelectorTest.cls(655,11):Variable does not exist: Order
deploy/classes/fflib_SObjectSelectorTest.cls(660,6):Variable does not exist: Order
deploy/classes/fflib_SObjectSelectorTest.cls(661,6):Variable does not exist: Order
Version
Did you try to reproduce the problem against the latest fflib-apex-common code?
Yes.