You need to sign in to do that
Don't have an account?
Jose 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
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?
Any idea why this is happening?
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.
Jose Daniel Angarita 2
There was actually no query related, it was a namespace issue. It was answered here (http://salesforce.stackexchange.com/questions/38906/sobject-row-was-retrieved-via-soql-without-querying-the-requested-field-on-manag/38909?noredirect=1#comment51692_38909" target="_blank).