Groundwire/Volunteers-for-Salesforce — Issue #11: "Mass Edit Volunteers Hours" button throws Visualforce Error
Author: BartC
Created: 2011-12-05 08:40:28+00:00
State: open

Visualforce Error:

System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: GW_Volunteers__Volunteer_Hours__c.GW_Volunteers__Contact__r

After clicking "Mass Edit Volunteer Hours" the error above is shown and I am taken to Setup (Name -> Setup) and the browser back-button won't work.

Here is the URL that the button calls: https://gw-volunteers.na12.visual.force.com/apex/VolunteersBulkEnterHours?campaignId=701U00000009HUx&volunteerJobId=a0HU0000002RLaT&volunteerShiftId=&retURL=/a0HU0000002RLaT/d?retURL=%2Fservlet%2Fservlet.Integration%3FscontrolCaching%3D1%26lid%3D00bU0000000IAAR%26eid%3Da0HU0000002RLaT%26ic%3D1

note: These hours are all on shifts and are beneath a volunteer (record type) campaign, All users to be edited are confirmed status and the shift start dates are Jan. 2012. I tried removing and re-adding the button.