Unanswered Questions
27
votes
2answers
278 views
Related Objects in User.layout Metadata on Winter '14
What's going on with the layouts/User-User Layout.layout metadata file? I have scripts that snapshot all of my metadata every day. Ever since we upgraded to Winter '14, the following lines are ...
20
votes
1answer
585 views
Javascript Remoting breaks on complex relationship data
We use Javascript Remoting to retrieve some complex data from the controller. The SOQL query looks like the following:
SELECT Id,
( SELECT Id, Sales_Rep__r.Name, Customer__r.Name,
...
15
votes
2answers
642 views
“Required fields are missing” on non-null field
My organization uses a third-party relational replication tool to sync data between Salesforce and a SQL Server database. The replication software is written in Java and uses the Salesforce API for ...
11
votes
1answer
271 views
It appears that > behaves like >= in a soql query. Why?
The query:
SELECT systemmodstamp, id
FROM Lead
WHERE SystemModstamp > 2013-12-03T01:13:09Z
AND SystemModstamp < 2014-02-11T12:18:41Z
ORDER BY SystemModstamp ASC ALL ROWS
returns several ...
9
votes
0answers
71 views
+50
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 ...
9
votes
1answer
598 views
String length exceeds maximum: 6000000
Are there any work arounds for this issue?
I'm trying to upload a file(attachment) to an 3rd party REST API Service. It works fine until my file sizes get about ~5 mb. Then I start getting the ...
8
votes
0answers
97 views
Did something change with deploy run test behavior with sandboxes in Spring '14?
Starting a few days ago my apex class compilation time suddenly ground to a halt. After going into the setup deployment monitoring I was at first delighted with the new deployment monitoring UI, then ...
7
votes
0answers
103 views
Streaming API MVEL Operators
Do the MVEL operators for filtered subscriptions described in Streaming API documentation really work?
I've tried a few variations of this (i.e. with/without quotes, double/single == etc.):
...
7
votes
2answers
114 views
Measuring performance of batch apex query
Is there a good way to tell how long the query in a batch apex job is taking? I don't find anything in the debug logs. I can see each batch and how long it takes, but not how long the initial query ...
7
votes
1answer
98 views
Populating Selected Records in Standard List Controllers
If you have a page using a standard list controller, like this:
<apex:page standardController="Account" recordSetVar="Accounts">
You can create a custom button for account lists allowing the ...
7
votes
1answer
91 views
Any way of returning a constant (ideally null) from a SOQL “group by”?
I have some code that does a series of "group by" queries, and uses a common method (apply) to process the results:
for (AggregateResult ar : [
select PaymentSpecification__c id, Status__c ...
7
votes
4answers
225 views
Picklist value available for selection on change of record type
There is a custom object "XYZ" which has a picklist field "F1" with values 1, 2, 3, 11, 12, 13. There are two record types "A" and "B". For A, F1 has 1,2,3 set and for B, F1 has 11, 12, 13 set. User A ...
6
votes
0answers
58 views
Weird missing record issue with SOQL query
Can someone help me understand why this query is returning 1 less record than expected when a Date custom field (Due_Date__c) is included in the SELECT clause? As you can see in the screenshot, it's ...
6
votes
0answers
96 views
Redirect to standard view from VF page with nooverride parameter in SF1
The view of my custom object is overwritten by a Visualforce page for my desktop users. This VF page should not be visible for my mobile users.
Before I render my VF page, I check the device to ...
6
votes
0answers
99 views
Visualforce rerender broken in IE11?
I've seen other issues with IE9 (that were patched) and a very specific question about IE11 rerendering with long text areas, but this seems to be a lot more general. I built a simple rerender test ...