Skip to content

fflib_SObjectSelectorTest not compatible with Force.com orgs (here: UE) #508

Closed
@ragoergens

Description

@ragoergens

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:

  1. From https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FR5TCUA1, select 'Try It', then install into a Force.com-only org.
  2. Package install fails.
  3. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions