The tag has no wiki summary.

learn more… | top users | synonyms

11
votes
1answer
158 views

CSRF (Cross-Site Request Forgery) in Visualforce Pages on Public Force.com Sites

Background On one of our public Salesforce Sites (Force.com Site) we allow users to create or/and update contacts "within" salesforce. To do so I'm using <apex:form>. In case Javascript is ...
7
votes
3answers
58 views

Data Not Available? Can't edit a custom formula field formula

Any ideas why I would get a "Data Not Available" error when editing a custom field? In this specific instance I'm editing a formula field, and I'm able to edit and save changes to the description and ...
4
votes
1answer
36 views

“MyClass object = (MyClass) t.newInstance()” considered harmful

I hope this turns out to be a still unknow security flaw that will be soon fixed by Salesforce.com. From code in my managed package I was able to call the constructor of a packaged class of another ...
3
votes
0answers
51 views

Tooling API Bug? or my bad? INVALID_FIELD_FOR_INSERT_UPDATE No access to entity 'anyobject__c'

Anyone seen this error before with the tooling api? All references to custom objects generate errors from references to custom objects. Only seems to apply to create calls, if I create it as an empty ...
3
votes
1answer
53 views

Example of using String.format() with a number / does this function even work?

Per the docs format(String, List<String>) Treat the current string as a pattern that should be used for substitution in the same manner as apex:outputText. Which would lead me to ...
3
votes
2answers
177 views

Scheduled batch “already scheduled”

I had a batch job that I tried to start. Its "startup" method that launches it checks to see if it's already running by querying the asyncjob object, then starts it only if it's not running already ...
2
votes
1answer
46 views

Tracking Changes to Lookup When Parent is Deleted

Question Is it a known issue that field history tracking doesn't detect changes to a lookup field as the result of the parent object being deleted? Background We had a big data integrity issue and ...
6
votes
2answers
106 views

Generic SObject Getters Return Null for Boolean fields?

Question Am I taking crazy pills are is it unexpected behavior for the generic sObject getters to return null for boolean fields? Background Was troubleshooting a null pointer error and noticed ...
6
votes
1answer
92 views

Troubleshooting a Record Sharing Mystery

Update: Totally rewriting/simplifying this question now that I've zero'ed in on the core issue. I'm sharing an Account, Program B with a public group called Access Program B's Data. As part of that ...
12
votes
1answer
620 views

Why does ApexPages.StandardController getId return a String?

I'm writing some new code, and I came across a curious situation. We are using a dynamic piece of code that determines how a record should be handled based on its ID value (e.g. different objects have ...
3
votes
1answer
221 views

Open Id Connect Network Activation

I have configured a salesforce instance to use Google for user Authentication via Open Id Connect. This is for users with full Salesforce licenses to login to Salesforce. When I log in from a new ...
6
votes
1answer
192 views

Why can't I edit page layouts in Google Chrome in Winter 14?

When using the latest version of Google Chrome, the Layout Editor palette is empty, so we cannot add fields, related lists, buttons, or any other objects to the page. No console errors are reported. ...
2
votes
1answer
103 views

Does field level security affect list view criteria?

Question Is it true the field level security of a field used in the criteria for a list view is ignored? Or is this a bug? Background I created a new formula field that's true if a user lookup on ...
10
votes
1answer
339 views

Bug? Why doesn't JSON.serialize support DescribeSObjectResult?

JSON.serialize supports DescribeFieldResult, meaning that I can do this: return JSON.serialize(Account.Name.getDescribe()); However, when I try to serialize the SObject itself, I experience an ...
4
votes
4answers
343 views

Can't compile Apex class due to code that does not exist anymore

I cannot reproduce this error yet, but its causing me huge trouble in release and package scenarios. I have a packaged class which implements an Abstract superclass. Sometimes when I refactor this ...
16
votes
4answers
342 views

How can we get “Developer” bugs logged with Technical Support?

I recently found a bug, which I mentioned on The Force.com Discussion Boards, as well as submitting a case, and after a few days fumbling around with the case, they closed it by saying that they only ...
4
votes
1answer
1k views

Salesforce api v28 not rendering CSS styling when rendering as PDF

I'm creating a Visualforce page rendered as a pdf ( renderAs="pdf" ), and the page won't render any of my CSS styling. I am wrapping my <style> with <head> as shown below. <apex:page ...
5
votes
2answers
216 views

System.UnexpectedException: User defined type found in unsupported code path

I have a complex codebase containing numerous custom classes, subclasses, inner classes, and enums. (I specifically mention this, as I have a hunch the enums are the cause, but I can't replicate in a ...
13
votes
4answers
2k views

Unexpected behavior with ISBLANK and CONTAINS functions in Visualforce Page

I've reduced my issue to the following example: <apex:page > <apex:variable var="blank" value="" /> <p> Contains(blank, 'foo'): <apex:outputText value="'TRUE'" ...