The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
15 views

“Your request exceeded the time limit for processing.” when editing any code

I've been encountering this platform error when trying to update any code from the App > Setup: Time limit exceeded Your request exceeded the time limit for processing. For example, if I ...
2
votes
0answers
42 views

Filtered lookup fields don't work in Visualforce

I have a VF component <apex:component ... > <apex:pageBlockSection ...> <apex:componentBody /> <apex:pageBlockTable ...> <apex:repeat ...
4
votes
1answer
70 views

Customer org corrupted: Public class deleted in 1.2 magically gets deprecated in 1.1.1 patch

We pushed patch 1.1.1 of our managed app to a customer production org which worked fine in their sandbox for the last weeks. After the installation our customers faces compile-time type errors as Apex ...
6
votes
1answer
194 views

Losing StandardSetController selected records with first visit to VF page

I have a VF page that leverages a custom object's StandardSetController to compare records. I created a custom button to allow users to select records of that object from a related list and compare ...
6
votes
1answer
96 views

Standard Controller behavior with not available ids - behavior changed?

Question Do standard controllers no longer throw exceptions if the current user doesn't have access to the passed in id? Has this always been that case or did this just recently change? Hoping to ...
0
votes
1answer
51 views

Why is my workflow not firing? - “100 <> null” evaluates to false? null formula comparison issues?

Question In a workflow formula criteria, what's the expected behavior when comparing nulls with the <> operator? Details I've got a basic workflow that seems like it should fire but ...
4
votes
2answers
126 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 ...
13
votes
2answers
214 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
389 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 ...
3
votes
2answers
85 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
223 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
101 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
40 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
80 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
560 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
542 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
72 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
242 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
95 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
1k 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
4answers
1k views

Default Values in Visualforce Input Fields

This is one of the feature that was delivered "Winter 11" but looks like there are some limitation. The suggested feature seems to work only for the very first time when VF page loads but when a ...
4
votes
1answer
291 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
214 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
135 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
460 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
481 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 ...
21
votes
4answers
424 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
2k 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
249 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 ...
15
votes
4answers
3k 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'" ...