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

fix for https://github.com/apex-enterprise-patterns/fflib-apex-common/issues/221 from @dsurfleet - - - This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/449)

bug

This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/441)

**Describe the bug** The test `toSOQL_When_SystemModeAndChildRelationship_Expect_WellFormedSOQL()` relies on `fflib_QueryFactory.getChildRelationship(SObjectType)`, which can get an unexpected relationship when Person Type Accounts are enabled. `Opportunities` is not guaranteed to be the first child...

**Describe the bug** when I run the tests in 'fflib_SObjectSelectorTest Class' I get the following error. System.AssertException: Assertion Failed: Expected: 12345.67, Actual: 9117.25 CODE LINE: system.assertEquals(12345.67,result[0].AnnualRevenue); I think this has...

bug

**Describe the bug** In the `fflib_SObjects` class, all these methods: - getStringFieldValues - getRecordsWithBlankFieldValues - getRecordsWithAllBlankFieldValues - getRecordsWithNotBlankFieldValues - getRecordsWithAllNotBlankFieldValues are type casting SObjectFields to String. This is fine for...

Fixes #495 Replace the manual type casting of field values into String with `String.valueOf()`. - - - This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/496)

The method `private fflib_QueryFactory setSubselectQuery(Schema.ChildRelationship relationship, Boolean assertIsAccessible)` has a check that prevents a subselect being added to a subselect - e.g. ``` if (this.relationship != null){ throw new InvalidSubqueryRelationshipException('Invalid...