Description
Describe the bug
Tried to deploy the FormulaShare package (AppExchange ID: a0N3A00000FR5TCUA1) into a Force.com Unlimited Edition sandbox. This org type does not have a Marketing User license provisioned.
Installation fails with:
This package can’t be installed.
There are problems that prevent this package from being installed.
ApexClass Variable does not exist: CampaignMember
fflib_SObjectSelectorTest: Variable does not exist: CampaignMember
To Reproduce
Requires access to a Force.com-only org (rare license type).
Steps to reproduce the behavior:
- From https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FR5TCUA1, select 'Try It', then install into a Force.com-only org.
- Package install fails.
- See above error.
Expected behavior
Ideally, fflib would not have a dependency on the CampaignMember (or Campaign) objects, so that dependent packages can be used on Force.com-only orgs that don't have a Marketing User license provisioned.
Screenshots and text of error observed
This package can’t be installed.
There are problems that prevent this package from being installed.
ApexClass Variable does not exist: CampaignMember
fflib_SObjectSelectorTest: Variable does not exist: CampaignMember
Version
FormulaShare 4.3 (latest)