+ Start a Discussion
Jose Daniel Angarita 2Jose Daniel Angarita 2 

SObject row was retrieved via SOQL without querying the requested field on managed package

So, we uploaded the managed package and installed it in a new org (as the clients would) but when accessing a vf page we get the error

SObject row was retrieved via SOQL without querying the requested field
 
The problem is that on the previous org everything works fine and on that VF Page we are not actually referencing any value that was the result of a query.

Any idea why this is happening?
Eric-∑Eric-∑
It seems that you missed some fields in your SOQL statement, fields being used in the VF or related controller must be retrieved in your SOQL.