No such column 'DeveloperName' on entity 'RecordType' after Summer '19 release on sandboxFlow error - The field “Name” isn’t valid for the “Contact” object after Summer 19 previewUnable to load jQuery in Salesforce Lightning Application after Salesforce Locker Service enable in Summer '16 ReleaseInvalid field RecordTypeId for SObject CaseCustom Lightning Components Failing with the new Summer '17 Release?How do you access the user's choice for RecordType when using a lightning component to override the New button on a custom object?Lightning Component/Inner Class Bug after Spring 18 sandbox updateProblem with sending Date as string from Aura to Apex. (after Summer 18 release on sandbox)Uncaught Assertion Failed - label attribute requiredUncaught TypeError Issue with the Lightning datepicker Introduced in Summer '18How to get object metadata like recordtypes entirely clientside in a Lightning Component?Unable to save Existing Lightning Components after Summer19 release sandboxes

Holding rent money for my friend which amounts to over $10k?

Will a coyote attack my dog on a leash while I'm on a hiking trail?

Smooth function that vanishes only on unit cube

Why did the soldiers of the North disobey Jon?

How to disable Two-factor authentication for Apple ID?

Filter a data-frame and add a new column according to the given condition

Find the unknown area, x

Why are solar panels kept tilted?

Extract the characters before last colon

Were any toxic metals used in the International Space Station?

White foam around tubeless tires

Do we have C++20 ranges library in GCC 9?

Why does SSL Labs now consider CBC suites weak?

Offered a new position but unknown about salary?

Is 12 minutes connection in Bristol Temple Meads long enough?

Are there any sonatas with only two sections?

Did galley captains put corks in the mouths of slave rowers to keep them quiet?

How to redirect stdout to a file, and stdout+stderr to another one?

Is there any way to adjust the damage type of the Eldritch Blast cantrip so that it does fire damage?

Is 95% of what you read in the financial press “either wrong or irrelevant?”

Single word that parallels "Recent" when discussing the near future

What information exactly does an instruction cache store?

How might a landlocked lake become a complete ecosystem?

How do I adjust encounters to challenge my lycanthrope players without negating their cool new abilities?



No such column 'DeveloperName' on entity 'RecordType' after Summer '19 release on sandbox


Flow error - The field “Name” isn’t valid for the “Contact” object after Summer 19 previewUnable to load jQuery in Salesforce Lightning Application after Salesforce Locker Service enable in Summer '16 ReleaseInvalid field RecordTypeId for SObject CaseCustom Lightning Components Failing with the new Summer '17 Release?How do you access the user's choice for RecordType when using a lightning component to override the New button on a custom object?Lightning Component/Inner Class Bug after Spring 18 sandbox updateProblem with sending Date as string from Aura to Apex. (after Summer 18 release on sandbox)Uncaught Assertion Failed - label attribute requiredUncaught TypeError Issue with the Lightning datepicker Introduced in Summer '18How to get object metadata like recordtypes entirely clientside in a Lightning Component?Unable to save Existing Lightning Components after Summer19 release sandboxes






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








7















I am getting the error




No such column 'DeveloperName' on entity 'RecordType'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.: Source




when saving a Lightning component on my sandbox after Summer '19 release.



The Lightning component is using an Apex class where the below code is causing the error :



Set<String> objAPINames = new Set<String>'Account', 'Opportunity';
Map<String,Id> mapValues = new Map<String,Id>();
for(RecordType rt : [select SobjectType, DeveloperName, Id
from RecordType
where SobjectType IN :objAPINames
order by SobjectType ASC ])
mapValues.put(rt.DeveloperName, rt.Id);



This code works fine in Developer Console, Apex Classes, Triggers.
It is only causing error when I am saving Lightning Component calling the class.



Anyone got this issue after the new release?










share|improve this question



















  • 2





    Did you try recompiling all the classes in your org. Go to apex classes under setup and use compile all classes link. We faced something similar and got it fixed by recompiling all the classes

    – Ashish Sharma
    May 9 at 15:45











  • Thank you so much @AshishSharma. It worked. I need to deploy those Lightning Components and classes to another Summer '19 sandbox and a Spring '19 production environment. The code does not exist in those org. yet. Do you think there will be similar issue while deploying?

    – N..
    May 9 at 16:01






  • 1





    I am not sure but It should not be an issue as this will be new metadata moving to target org. In case if it causes any issue, you can always deploy it in parts. First moving the classes, compile the classes/run test classes and then deploy lightning component.

    – Ashish Sharma
    May 9 at 16:07






  • 1





    @AshishSharma You should add your comments as an answer as that seemed to be the resolution here.

    – Jayant Das
    May 9 at 16:14











  • Ok @AshishSharma. Thank you so much for your help. I shall keep that in mind.

    – N..
    May 9 at 16:14

















7















I am getting the error




No such column 'DeveloperName' on entity 'RecordType'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.: Source




when saving a Lightning component on my sandbox after Summer '19 release.



The Lightning component is using an Apex class where the below code is causing the error :



Set<String> objAPINames = new Set<String>'Account', 'Opportunity';
Map<String,Id> mapValues = new Map<String,Id>();
for(RecordType rt : [select SobjectType, DeveloperName, Id
from RecordType
where SobjectType IN :objAPINames
order by SobjectType ASC ])
mapValues.put(rt.DeveloperName, rt.Id);



This code works fine in Developer Console, Apex Classes, Triggers.
It is only causing error when I am saving Lightning Component calling the class.



Anyone got this issue after the new release?










share|improve this question



















  • 2





    Did you try recompiling all the classes in your org. Go to apex classes under setup and use compile all classes link. We faced something similar and got it fixed by recompiling all the classes

    – Ashish Sharma
    May 9 at 15:45











  • Thank you so much @AshishSharma. It worked. I need to deploy those Lightning Components and classes to another Summer '19 sandbox and a Spring '19 production environment. The code does not exist in those org. yet. Do you think there will be similar issue while deploying?

    – N..
    May 9 at 16:01






  • 1





    I am not sure but It should not be an issue as this will be new metadata moving to target org. In case if it causes any issue, you can always deploy it in parts. First moving the classes, compile the classes/run test classes and then deploy lightning component.

    – Ashish Sharma
    May 9 at 16:07






  • 1





    @AshishSharma You should add your comments as an answer as that seemed to be the resolution here.

    – Jayant Das
    May 9 at 16:14











  • Ok @AshishSharma. Thank you so much for your help. I shall keep that in mind.

    – N..
    May 9 at 16:14













7












7








7








I am getting the error




No such column 'DeveloperName' on entity 'RecordType'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.: Source




when saving a Lightning component on my sandbox after Summer '19 release.



The Lightning component is using an Apex class where the below code is causing the error :



Set<String> objAPINames = new Set<String>'Account', 'Opportunity';
Map<String,Id> mapValues = new Map<String,Id>();
for(RecordType rt : [select SobjectType, DeveloperName, Id
from RecordType
where SobjectType IN :objAPINames
order by SobjectType ASC ])
mapValues.put(rt.DeveloperName, rt.Id);



This code works fine in Developer Console, Apex Classes, Triggers.
It is only causing error when I am saving Lightning Component calling the class.



Anyone got this issue after the new release?










share|improve this question
















I am getting the error




No such column 'DeveloperName' on entity 'RecordType'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.: Source




when saving a Lightning component on my sandbox after Summer '19 release.



The Lightning component is using an Apex class where the below code is causing the error :



Set<String> objAPINames = new Set<String>'Account', 'Opportunity';
Map<String,Id> mapValues = new Map<String,Id>();
for(RecordType rt : [select SobjectType, DeveloperName, Id
from RecordType
where SobjectType IN :objAPINames
order by SobjectType ASC ])
mapValues.put(rt.DeveloperName, rt.Id);



This code works fine in Developer Console, Apex Classes, Triggers.
It is only causing error when I am saving Lightning Component calling the class.



Anyone got this issue after the new release?







lightning-aura-components record-type summer19






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 9 at 15:39









David Reed

42k82463




42k82463










asked May 9 at 15:38









N..N..

914421




914421







  • 2





    Did you try recompiling all the classes in your org. Go to apex classes under setup and use compile all classes link. We faced something similar and got it fixed by recompiling all the classes

    – Ashish Sharma
    May 9 at 15:45











  • Thank you so much @AshishSharma. It worked. I need to deploy those Lightning Components and classes to another Summer '19 sandbox and a Spring '19 production environment. The code does not exist in those org. yet. Do you think there will be similar issue while deploying?

    – N..
    May 9 at 16:01






  • 1





    I am not sure but It should not be an issue as this will be new metadata moving to target org. In case if it causes any issue, you can always deploy it in parts. First moving the classes, compile the classes/run test classes and then deploy lightning component.

    – Ashish Sharma
    May 9 at 16:07






  • 1





    @AshishSharma You should add your comments as an answer as that seemed to be the resolution here.

    – Jayant Das
    May 9 at 16:14











  • Ok @AshishSharma. Thank you so much for your help. I shall keep that in mind.

    – N..
    May 9 at 16:14












  • 2





    Did you try recompiling all the classes in your org. Go to apex classes under setup and use compile all classes link. We faced something similar and got it fixed by recompiling all the classes

    – Ashish Sharma
    May 9 at 15:45











  • Thank you so much @AshishSharma. It worked. I need to deploy those Lightning Components and classes to another Summer '19 sandbox and a Spring '19 production environment. The code does not exist in those org. yet. Do you think there will be similar issue while deploying?

    – N..
    May 9 at 16:01






  • 1





    I am not sure but It should not be an issue as this will be new metadata moving to target org. In case if it causes any issue, you can always deploy it in parts. First moving the classes, compile the classes/run test classes and then deploy lightning component.

    – Ashish Sharma
    May 9 at 16:07






  • 1





    @AshishSharma You should add your comments as an answer as that seemed to be the resolution here.

    – Jayant Das
    May 9 at 16:14











  • Ok @AshishSharma. Thank you so much for your help. I shall keep that in mind.

    – N..
    May 9 at 16:14







2




2





Did you try recompiling all the classes in your org. Go to apex classes under setup and use compile all classes link. We faced something similar and got it fixed by recompiling all the classes

– Ashish Sharma
May 9 at 15:45





Did you try recompiling all the classes in your org. Go to apex classes under setup and use compile all classes link. We faced something similar and got it fixed by recompiling all the classes

– Ashish Sharma
May 9 at 15:45













Thank you so much @AshishSharma. It worked. I need to deploy those Lightning Components and classes to another Summer '19 sandbox and a Spring '19 production environment. The code does not exist in those org. yet. Do you think there will be similar issue while deploying?

– N..
May 9 at 16:01





Thank you so much @AshishSharma. It worked. I need to deploy those Lightning Components and classes to another Summer '19 sandbox and a Spring '19 production environment. The code does not exist in those org. yet. Do you think there will be similar issue while deploying?

– N..
May 9 at 16:01




1




1





I am not sure but It should not be an issue as this will be new metadata moving to target org. In case if it causes any issue, you can always deploy it in parts. First moving the classes, compile the classes/run test classes and then deploy lightning component.

– Ashish Sharma
May 9 at 16:07





I am not sure but It should not be an issue as this will be new metadata moving to target org. In case if it causes any issue, you can always deploy it in parts. First moving the classes, compile the classes/run test classes and then deploy lightning component.

– Ashish Sharma
May 9 at 16:07




1




1





@AshishSharma You should add your comments as an answer as that seemed to be the resolution here.

– Jayant Das
May 9 at 16:14





@AshishSharma You should add your comments as an answer as that seemed to be the resolution here.

– Jayant Das
May 9 at 16:14













Ok @AshishSharma. Thank you so much for your help. I shall keep that in mind.

– N..
May 9 at 16:14





Ok @AshishSharma. Thank you so much for your help. I shall keep that in mind.

– N..
May 9 at 16:14










2 Answers
2






active

oldest

votes


















6














Please recompile all classes in org by using compile all classes link on apex classes page under setup or you can do runAllTest in org which will recompile the covered classes. This will fix the issue. We faced a similar issue after Summer 19 release and got it fixed by recompiling all the classes.






share|improve this answer


















  • 1





    To all those having similar issue, 'Compile all classes' works. But I had to do it more than once. I did it yesterday, all was good. Today I login to continue working on my Lightning Component and I got same issue. So I had to 'Compile all classes' again. Until Salesforce applies a patch, we may need to compile all classes a few times.

    – N..
    May 10 at 10:25






  • 1





    This release is still in preview. So I am pretty sure that before GA, Salesforce will resolve this or they will not release the update which is causing this.

    – Ashish Sharma
    May 10 at 11:16












  • I agree on this point, Ashish. Hoping for a fix soon though.

    – N..
    May 10 at 11:43


















2














Check this Know Issue with workaround:
salseforce known issue



​​​​​​Workaround
Use Metadata Api or VS Code and SFDX to deploy changes to your lightning components






share|improve this answer























  • Thanks. I managed to solve the issue by recompiling all Apex Classes as suggested by Ashish. The link to the known issue is useful though. Thank you very much.

    – N..
    May 9 at 16:58











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "459"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f261799%2fno-such-column-developername-on-entity-recordtype-after-summer-19-release-o%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














Please recompile all classes in org by using compile all classes link on apex classes page under setup or you can do runAllTest in org which will recompile the covered classes. This will fix the issue. We faced a similar issue after Summer 19 release and got it fixed by recompiling all the classes.






share|improve this answer


















  • 1





    To all those having similar issue, 'Compile all classes' works. But I had to do it more than once. I did it yesterday, all was good. Today I login to continue working on my Lightning Component and I got same issue. So I had to 'Compile all classes' again. Until Salesforce applies a patch, we may need to compile all classes a few times.

    – N..
    May 10 at 10:25






  • 1





    This release is still in preview. So I am pretty sure that before GA, Salesforce will resolve this or they will not release the update which is causing this.

    – Ashish Sharma
    May 10 at 11:16












  • I agree on this point, Ashish. Hoping for a fix soon though.

    – N..
    May 10 at 11:43















6














Please recompile all classes in org by using compile all classes link on apex classes page under setup or you can do runAllTest in org which will recompile the covered classes. This will fix the issue. We faced a similar issue after Summer 19 release and got it fixed by recompiling all the classes.






share|improve this answer


















  • 1





    To all those having similar issue, 'Compile all classes' works. But I had to do it more than once. I did it yesterday, all was good. Today I login to continue working on my Lightning Component and I got same issue. So I had to 'Compile all classes' again. Until Salesforce applies a patch, we may need to compile all classes a few times.

    – N..
    May 10 at 10:25






  • 1





    This release is still in preview. So I am pretty sure that before GA, Salesforce will resolve this or they will not release the update which is causing this.

    – Ashish Sharma
    May 10 at 11:16












  • I agree on this point, Ashish. Hoping for a fix soon though.

    – N..
    May 10 at 11:43













6












6








6







Please recompile all classes in org by using compile all classes link on apex classes page under setup or you can do runAllTest in org which will recompile the covered classes. This will fix the issue. We faced a similar issue after Summer 19 release and got it fixed by recompiling all the classes.






share|improve this answer













Please recompile all classes in org by using compile all classes link on apex classes page under setup or you can do runAllTest in org which will recompile the covered classes. This will fix the issue. We faced a similar issue after Summer 19 release and got it fixed by recompiling all the classes.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 9 at 16:23









Ashish SharmaAshish Sharma

623315




623315







  • 1





    To all those having similar issue, 'Compile all classes' works. But I had to do it more than once. I did it yesterday, all was good. Today I login to continue working on my Lightning Component and I got same issue. So I had to 'Compile all classes' again. Until Salesforce applies a patch, we may need to compile all classes a few times.

    – N..
    May 10 at 10:25






  • 1





    This release is still in preview. So I am pretty sure that before GA, Salesforce will resolve this or they will not release the update which is causing this.

    – Ashish Sharma
    May 10 at 11:16












  • I agree on this point, Ashish. Hoping for a fix soon though.

    – N..
    May 10 at 11:43












  • 1





    To all those having similar issue, 'Compile all classes' works. But I had to do it more than once. I did it yesterday, all was good. Today I login to continue working on my Lightning Component and I got same issue. So I had to 'Compile all classes' again. Until Salesforce applies a patch, we may need to compile all classes a few times.

    – N..
    May 10 at 10:25






  • 1





    This release is still in preview. So I am pretty sure that before GA, Salesforce will resolve this or they will not release the update which is causing this.

    – Ashish Sharma
    May 10 at 11:16












  • I agree on this point, Ashish. Hoping for a fix soon though.

    – N..
    May 10 at 11:43







1




1





To all those having similar issue, 'Compile all classes' works. But I had to do it more than once. I did it yesterday, all was good. Today I login to continue working on my Lightning Component and I got same issue. So I had to 'Compile all classes' again. Until Salesforce applies a patch, we may need to compile all classes a few times.

– N..
May 10 at 10:25





To all those having similar issue, 'Compile all classes' works. But I had to do it more than once. I did it yesterday, all was good. Today I login to continue working on my Lightning Component and I got same issue. So I had to 'Compile all classes' again. Until Salesforce applies a patch, we may need to compile all classes a few times.

– N..
May 10 at 10:25




1




1





This release is still in preview. So I am pretty sure that before GA, Salesforce will resolve this or they will not release the update which is causing this.

– Ashish Sharma
May 10 at 11:16






This release is still in preview. So I am pretty sure that before GA, Salesforce will resolve this or they will not release the update which is causing this.

– Ashish Sharma
May 10 at 11:16














I agree on this point, Ashish. Hoping for a fix soon though.

– N..
May 10 at 11:43





I agree on this point, Ashish. Hoping for a fix soon though.

– N..
May 10 at 11:43













2














Check this Know Issue with workaround:
salseforce known issue



​​​​​​Workaround
Use Metadata Api or VS Code and SFDX to deploy changes to your lightning components






share|improve this answer























  • Thanks. I managed to solve the issue by recompiling all Apex Classes as suggested by Ashish. The link to the known issue is useful though. Thank you very much.

    – N..
    May 9 at 16:58















2














Check this Know Issue with workaround:
salseforce known issue



​​​​​​Workaround
Use Metadata Api or VS Code and SFDX to deploy changes to your lightning components






share|improve this answer























  • Thanks. I managed to solve the issue by recompiling all Apex Classes as suggested by Ashish. The link to the known issue is useful though. Thank you very much.

    – N..
    May 9 at 16:58













2












2








2







Check this Know Issue with workaround:
salseforce known issue



​​​​​​Workaround
Use Metadata Api or VS Code and SFDX to deploy changes to your lightning components






share|improve this answer













Check this Know Issue with workaround:
salseforce known issue



​​​​​​Workaround
Use Metadata Api or VS Code and SFDX to deploy changes to your lightning components







share|improve this answer












share|improve this answer



share|improve this answer










answered May 9 at 16:35









sdandamud1sdandamud1

1167




1167












  • Thanks. I managed to solve the issue by recompiling all Apex Classes as suggested by Ashish. The link to the known issue is useful though. Thank you very much.

    – N..
    May 9 at 16:58

















  • Thanks. I managed to solve the issue by recompiling all Apex Classes as suggested by Ashish. The link to the known issue is useful though. Thank you very much.

    – N..
    May 9 at 16:58
















Thanks. I managed to solve the issue by recompiling all Apex Classes as suggested by Ashish. The link to the known issue is useful though. Thank you very much.

– N..
May 9 at 16:58





Thanks. I managed to solve the issue by recompiling all Apex Classes as suggested by Ashish. The link to the known issue is useful though. Thank you very much.

– N..
May 9 at 16:58

















draft saved

draft discarded
















































Thanks for contributing an answer to Salesforce Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f261799%2fno-such-column-developername-on-entity-recordtype-after-summer-19-release-o%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림