tprouvot / Salesforce-Inspector-reloaded

Chrome extension to add a metadata layout on top of the standard Salesforce UI to improve the productivity and joy of Salesforce configuration, development, and integration.
https://chrome.google.com/webstore/detail/salesforce-inspector-relo/hpijlohoihegkfehhibggnkbjhoemldh
MIT License
185 stars 58 forks source link

[data-export] Incorrect RecordType Values Displayed for Queried Object #466

Closed CamilleGuillory closed 2 months ago

CamilleGuillory commented 2 months ago

When executing the following SOQL query:


SELECT Id, Account.RecordType.DeveloperName 
FROM Contact 
WHERE RecordType.DeveloperName = 'CRM_ClientContact' 
AND Account.RecordType.DeveloperName = '<some_value>'

the RecordType.DeveloperName values are incorrectly sourced from the Contact object instead of the Account object as specified in the query.

image

Expected Behavior: The query should return RecordType.DeveloperName values from the Account object.

Actual Behavior: The query returns RecordType.DeveloperName values from the Contact object.

Steps to Reproduce:

Execute the provided SOQL query in the developer console or any other query tool. Observe that the RecordType.DeveloperName values are sourced from Contact instead of Account.

tprouvot commented 2 months ago

Good catch @CamilleGuillory 👏 Issue is solved and will be deployed on beta soon