Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

233 list out of bounds query factory #251

Commits on Nov 25, 2019

  1. Merge pull request #4 from apex-enterprise-patterns/master

    merge fflib-apex-common back to master of fork
    William Velzeboer committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    b7e3599 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. apex-enterprise-patterns#233 Fix for list out of bounds

    When a query with relationship fields in the select is generated for a community user in a without sharing context on an object that is not accessible (CRUD), a list out of bounds error is returned.
    
    The method Schema.getGlobalDescribe().get('MyObjectName__c').getDescribe().fields.getMap().get('MyRelationShipFieldToAnotherNonAccessibleObject__c').getDescribe().getReferenceTo() returns null, when executed as community user.
    wimvelzeboer committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    a8aa4cc View commit details
    Browse the repository at this point in the history