Skip to content

When deploying this package to orgs that do not have the Order object enabled, it fails. #505

Closed
@gsuarez-sfdc

Description

@gsuarez-sfdc

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:

  1. Log in to a sandbox that does not have the order object enabled
  2. Try to deploy the package.
  3. 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions