The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
54 views

System.QueryException: No Such Column - Strange RunAs Behavior with Summer '14?

Question Is there any known reason a SOQL Query would return a runtime System.QueryException on a custom field in test methods, in particular one one via a parent lookup in a test? I would have ...
12
votes
2answers
137 views

Rest Routing with Multiple Wildcards / Supporting REST Routing for Nested Resources

Question Running into a SalesForce REST mapping issue involving multiple wildcards in an url. Is this not supported? Is there anyway to supporting routing for nested resources? My Setup I have this ...
5
votes
4answers
125 views

HTML5 Date pickers today stopped working in Salesforce1 on Android

I have a Salesforce1 app that uses native HTML5 date(time) pickers. This wonderfully worked on all supported mobile platforms, on the desktop and in the one/one.app test page. This morning (August ...
2
votes
2answers
45 views

Workaround for Possible Datetime.format() Framework Bug

I am generating a set of date-based keys by looping over a start date and adding successive months to the initial Datetime object. I seem to have run into a bug in the format() method of the Datetime ...
11
votes
1answer
176 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
65 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
62 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
135 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 ...
4
votes
2answers
247 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
50 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
132 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
93 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
803 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
238 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
198 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
112 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
360 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
378 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
360 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
222 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'" ...