• Sara McDermmot
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,

I am receiving an error that is not allowing users to access a VF page in a production org.  This works  fine in the full sandbox that we developed in, and tested before deploying to prod.  The only thing we can see that maybe causing the error is that Prod is on Summer 14 and Full sandbox is on Winter 15 release.  We've isolated it to a portion of the code which requires access to the standard fiscal year in the org.

We have done the following trouble shooting:
*Compared Full Sandbox vs Prod profiles
*cloned the system admin in prod (as this works fine for system admin) and just removed view all data and sales still receive an error.  Repeated this in the full sandbox and this worked
*we noticed that Prod is on Summer 14 and Full sandbox is on Winter 15, wondering if this is an issue.

Exact code error we get is “Error - sObject type 'Organization' is not supported" and from all salesforce forums, the only suggested workaround is to use "without sharing" (elevate the access of the page as admin) which ideally we don't want to do.

Thanks,
Hi,

I am receiving an error that is not allowing users to access a VF page in a production org.  This works  fine in the full sandbox that we developed in, and tested before deploying to prod.  The only thing we can see that maybe causing the error is that Prod is on Summer 14 and Full sandbox is on Winter 15 release.  We've isolated it to a portion of the code which requires access to the standard fiscal year in the org.

We have done the following trouble shooting:
*Compared Full Sandbox vs Prod profiles
*cloned the system admin in prod (as this works fine for system admin) and just removed view all data and sales still receive an error.  Repeated this in the full sandbox and this worked
*we noticed that Prod is on Summer 14 and Full sandbox is on Winter 15, wondering if this is an issue.

Exact code error we get is “Error - sObject type 'Organization' is not supported" and from all salesforce forums, the only suggested workaround is to use "without sharing" (elevate the access of the page as admin) which ideally we don't want to do.

Thanks,