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
mshelmanmshelman 

Is anybody out there?

It's my belief that all of these recent threads on this board probably refer to the same problem that seems to have surfaced within the past week or so having to do with dynamic apex and packaging and perhaps the "API access restrictions" on packages. I'm experiencing all the problems described below in a class that references only a custom object that is included in the package. My experience with these problems is that they occur intermittently.


Schema.SObjectType.Contact.fields.getMap() and Managed Package

Schema.SObjectType.Contact.fields.getMap() and Managed Package

Schema.SObjectType.Opportunity.fields.getMap() Returns Empty Map

System.QueryException: object is not accessible in query due to package restrictions

More Dynamic Apex issues






Message Edited by mshelman on 10-15-2008 02:06 AM
gjsgjs
There are a number of issues around dynamic covered by a number of bugs:
 
Bug #210020 covers:
 
1) PAC does not allow access to subscriber created custom field extensions. EG:

Namespaced(fRecruit) Dynamic code has access to fRecruit__Canidate__c sobject. But if the subscriber adds a field to the object, Dynamic code cannot operate on this custom field.

2) By default, namespaced code should have complete dynamic access on the namespaced objects/fields - regardless of whether PAC is enabled.
 
We plan to fix this in a Summer 08 patch.
Bug #215860 covers:
 
PAC must be enabled in order for dynamic apex to work, but if your package contains an scontrol, we don't allow you to set PAC on the package.
 
This bug is under consideration for Winter 09.
 
Bug #208274 covers:
 
Dynamic Apex Describe Intermittently Not Return Field Names.
 
This bug has been closed out as "Not reproducible". We'd love to get a repro case.
AnjaanAnjaan
Is there any fix out there as Winter 09 realease is out there. I am facing this issue and its in critical stage. Please guide me if fix is out there or not