fflib-apex-common icon indicating copy to clipboard operation
fflib-apex-common copied to clipboard

Common Apex Library supporting Apex Enterprise Patterns and much more!

Results 98 fflib-apex-common issues
Sort by recently updated
recently updated
newest added
trafficstars

lines in the testmethods that look like this: qf.selectField('name').selectField('Id').setCondition( 'name like \'%test%\'' )... do not work if the org has enabled Shield Platform Encryption (deterministic) on `Contact.Name`. Why? - You...

enhancement

A [common pattern](https://andyinthecloud.com/category/apex/page/7/) is: ``` opp.AccountId.addError( error('You must provide an Account for Opportunities for existing Customers.', opp, Opportunity.AccountId) ); ``` Note: SFDC `addError` supports these signatures: - addError(String errorMsg) -...

enhancement

Hi there, I am trying to query the ContentDocumentLink Object. When I write my query directly into my Service class as `List cdlList = [SELECT ContentDocumentId, LinkedEntityId FROM ContentDocumentLink WHERE...

doc enhancement

A minor point but worthy of an enhancement If you define your Application class with Application.Domain _before_ Application.Selector, when you attempt to use this construction: fflib_ISObjectDomain domain = Application.Domain.newInstance(sObjIds); such...

enhancement
doc enhancement

There does not appear to be any tests for the new platform event methods (registerPublishBeforeTransaction, registerPublishAfterFailureTransaction and registerPublishAfterSuccessTransaction )

bug

The issue: UnitOfWork does not resolve the relationship at update. Here is the problem description: Use "registerDirty" with a relationship to a parent record which will be inserted (updated?). Method...

bug

I have question on StackExchange https://salesforce.stackexchange.com/questions/266322 about options that a developer can choose to enforce security on their selectors. Since I am working on an application that we are planning...

doc enhancement

Encrypted fields can't be used in LIKE or Order By - fflib_SObjectSelectorTest uses Account.Name in order By - fflib_SobjectUnitOfWorkTest uses Opportunity.Name in LIKE and Order BY

bug

Hello guys, During the use of fflib in my project, every time I have to register records in UnitOfWork I have to do something like this: ```apex fflib_ISObjectDomain accounts =...

enhancement

I get the following message when I try to deploy on my production environment. It's weird because I was able to deploy the same package on my sandbox. From what...

bug
info-needed