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
admintrmpadmintrmp 

Fieldsets - sObject field not retrieved

Does anybody else have problems with fieldsets at the moment?
We are currently getting three results from fieldsets:

  1. Populate the field correctly
  2. Populate the field at edit, but display blank on detail
  3. Page falls over with error message (SObject row was retrieved via SOQL without querying the requested field)

These are all Visualforce pages that are standardController driven. So this error message should not appear and the fields should not be unpopulated when they are populated.

 

I use the same code everywhere:

 

<apex:repeat value="{!$ObjectType.example__c.FieldSets.ExampleForm}" var="f">
     <apex:outputField value="{!example__c[f.FieldPath]}" />
</apex:repeat>

 

All the pages are set to API version 25.0, so there should be no problems there.

All the fields are added to the page layouts to make sure they are available.

The profile is under system administrator and has full permissions to every object and field.

 

Any suggestions?