The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
1answer
104 views
+50

Any workaround for the bug with StandardSetController getSelected method?

I'm using a VF page and a controller to get the selected records in a view list and display some info. However the first time always fails (Related question), is there a different way to do this or a ...
2
votes
1answer
41 views

Salesforce Cron Expression for every second and fourth Friday?

I want to run a class at 10 AM every 2nd and 4th Friday of each month. Came up with the expression below, but it's not scheduling correctly - only schedules the fourth Friday. Could it be that ...
4
votes
1answer
64 views

hashCode() is never called when adding to Maps and Sets

Given the following Apex class, which implements equals() and hashCode() as per the Using Custom Types in Map Keys and Sets documentation: public class Foo { private Integer x; public ...
3
votes
1answer
103 views

Summer '14 Developer Console fails to load?

Using Google Chrome Version 36.0.1985.125 m on Windows 7 Enterprise 64-Bit, using two different sandboxes on CS10, the Developer Console refuses to load, instead just showing a blank screen. ...
7
votes
0answers
85 views

An interface extending a system interface causes process hangs?

We're trying to implement dynamic batch processes to dispatch different classes. Specifically, we have integrated multiple systems, and depending on certain events, we dispatch callouts to those ...
1
vote
0answers
23 views

Strange Field Describe Issue. Not showing existing fields. May be bug?

We have created an object last two months ago which contains 6 fields and they all are visible by describe call. Now we moved that object to another org with all dependencies etc. But there in ...
1
vote
2answers
39 views

Salesforce System Down without warning messages

We noticed that Salesforce instance is not available and when log in it's asking to check the availability at http://trust.salesforce.com/trust/status/. This is the first time I had this experience ...
2
votes
0answers
46 views

RecentlyViewed objects not returning Email… Sf bug?

When I query the recentlyViewed object, the email address isn't being returned even though Email is a field that is supported per the documentation ...
2
votes
1answer
61 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 ...
7
votes
1answer
126 views

Why does Apex Code let me save a parameterized interface?

For some reason, I thought I'd see if interfaces support parameterization, as a matter of trying to optimize some code. Amazingly, the following code saved once: public interface ...
8
votes
2answers
715 views

Sping'14 (bug?) with apex:repeat and sets

I think I may have found a bug with iterating over a set in spring'14. So I have some code that creates a set (using set so it will be unique) and then on the page it iterates over the set using an ...
10
votes
2answers
976 views

Large size Attachment upload auto-removed by Salesforce. Is it a bug?

I've a Visualforce page that uploads multiple Attachments selected by user. I used following code to upload attachments: ... <apex:repeat value="{!AttList}" var="att"> <apex:inputFile ...
4
votes
1answer
34 views

The meaning of “Has Transfer Access” and maybe a possible bug in the free developer organization?

I am new to Salesforce/Apex and I am messing with the User Record Access. There is a field called "HasTransferAccess", but the description of it is not very helpful. What does it actually mean? Also, ...
6
votes
1answer
210 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
122 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 ...
4
votes
2answers
1k views

Using an sObject as a Map key

Are sObjects supported as the keys for Maps? I thought they were, but it appears that any subsequent changes to the key sObject break the mapping to the value. This might be better shown with an ...
2
votes
2answers
204 views

PushTopic Test: Duplicate Name Bug?

I am writing a test class for a utility class for inserting PushTopics. Despite explicitly setting @isTest(SeeAllData=false) on my test class, I am getting a System.DMLException because of a ...
1
vote
1answer
2k views

VisualForce page with custom controller and lookup causing JavaScript UI issues

I noticed that I'm experiencing UI issues with every Salesforce instance that I have access to when I create a custom VisualForce page using a custom controller and that I display a lookup field on ...
0
votes
1answer
550 views

Batch Issues Invalid Query Locator When Accessing Sub Query

I'm rolling out a new batch process and started getting Invalid Query Locator error messages on certain batches (4 out of 85). Am I doing something wrong? Feels like a bug and will be submitting to ...
11
votes
1answer
246 views

Why are my Portal Users sharing their usernamespace with the world in Spring '13?

At the same time as the rollout of Spring '13, I'm encountering issues related to High Volume Customer Portal Users: their usernames are now clashing with users in other orgs. I'm aware that Portal ...
1
vote
2answers
4k views

How to use output text date format to respect locale [duplicate]

Possible Duplicate: Visualforce Locale specific date format Is there anyway to get the <apex:outputtext> tag to respect a user's locale when printing out dates? Example Controller: ...
1
vote
1answer
264 views

Native JSON parser issue [closed]

It seems that json.serialize method converts null to String 'null' System.debug(String.isEmpty(null)); Contact con = null; String jsonCon = JSON.serialize(con); System.debug(jsonCon); ...
22
votes
1answer
270 views

Strange Allowed Apex Syntax

Found some crazy apex syntax and I have no clue what it does. public Account<List<String<Contact>>> whatIsWrongWithApex; Is this a defect? Should this do something? Compiler not ...
1
vote
1answer
569 views

NullPointerException not occurring within try/catch

I'm writing a testMethod for a custom Exception class. As part of the testMethod I want to deliberately throw another exception to become the inner cause of my custom exception. E.g. public class ...
2
votes
1answer
190 views

PermissionSet API and SOQL FieldPermissions Expectations

I'm working on a little permission app for my own sanity. I'm starting with querying the Field Permissions. I'm a bit confused with what I'm seeing. Using Workbench: SELECT ...
6
votes
1answer
269 views

How to Report a Salesforce Issue

While creating report in Salesforce, we can add the date filter to filter the records. This is allowing from date as today and to date as past date. The Salesforce should throw validation error in ...
3
votes
0answers
608 views

Has anyone run into these two Winter 13 preview issues? [closed]

I know the Winter 13 preview has only just appeared, but I've run into two issues and am wondering if anyone else can reproduce them. I'm having trouble deploying code from a standard dev org ...