function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Praveen Kumar.ax1457Praveen Kumar.ax1457 

VF Page is not loading and giving error

I have encountered with a typical issue in one of a visualforce page. This page is working fine in dev org and staging org. We have released a managed package from the staging org and after installing the package in a trial org, VF page is not working and throwing error :

 

 

“SObject row was retrieved via SOQL without querying the requested field navmnaI__Deal__c.navmnaI__Account__r”.

 

This VF page was working fine till the last release but stopped working now. I have contacted salesforce support (Case # 08055862) on 24/08 but not heard anything from them yet.

 

Please let me know, if somebody has faced the similiar problem and any workaround to solve this issue.

ShaTShaT

Hi Praveen,

 

You just need to add  navmnaI__Deal__c.navmnaI__Account__r in your SOQL Query . Thamn You will not get error.

In your query you have not retrived the account and you are using it in the page . So its giving you error

 

Thanks

Shailu