The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
23 views

Database.DMLOptions.DuplicateRuleHeader.allowSave skips all validation rules?

Had a project where the client wanted to allow the data to bypass contact duplicate rules they had in place. So figured inserting the new contacts with ...
13
votes
3answers
2k views

Math.ceil() issue. Am I losing my mind?

Ok I hope I am mising something here as I really don't want this to be a bug. The following piece of code returns 2. Per my understanding of the ceiling functionality, the result should be 3 because ...
3
votes
1answer
86 views

Unable to save Lightning Component because of Save error for Custom Apex Class type attribute

I'm trying to create a Lightning Component and there is a Custom Apex Controller class with a child class in it. But I'm receiving an error like this: Failed to save undefined: No TYPE named ...
0
votes
0answers
55 views

Lightning builder bug on filters?

While designing new lightning page and working on filters, the properties panel in the right is not showing all the Views available for that object. The Views are already visible to all the users. But ...
12
votes
1answer
118 views

What is the 'INTERNAL' debug level?

According to Setting Debug Log Filters, the debug levels for each category are as follows: ERROR WARN INFO DEBUG FINE FINER FINEST However, when we create a new User Trace Flag (Setup > Logs > ...
0
votes
0answers
56 views

SalesForce Winter '16 Release Bugs

I wanted to warn you regarding two bugs of the Winter '16 Release: When creating a new user, after filling the details and pressing the "Save and New" button, in case you got a duplicate User-Name ...
9
votes
1answer
102 views

Winter 16 issue? Tooling API queries not working from Triggers, Visualforce

This looks like a Winter 16 issue, but would appreciate any other thoughts. Queries of tooling api objects (such a FieldDefinition) return no results when run in a trigger or a VF page, but they do ...
0
votes
2answers
26 views

Unable to edit Knowledge article that has lookup to deleted record

In our org we have a Knowledge article type that has a lookup field to Contact. We also have duplicate Contacts. When merging duplicate Contacts, Salesforce does not take into account that there might ...
10
votes
2answers
52 views

Dev Console Debug Log Becoming Unreliable?

Has anyone else noticed that the Debug Logs in the Developer Console are becoming notoriously unreliable? I am finding that often when I run code through Execute Anonymous in the hopes of examining ...
1
vote
0answers
59 views

how to read all Content Notes saved as 'SNote' (Beta New Notes feature) for a Parent record all users?

I have been trying to read all New Notes (richtext version) via SOQL query in Apex Controller class. The design specifications for new notes signifies that they are stored in as ContentVersion ...
2
votes
1answer
52 views

Developer Console Logs Stop Showing after first run

This has been happening for the past month. After an anonymous execution, I try to execute an anonymous script again and open up the log, the script executes but no log is presented. If I shut down ...
5
votes
2answers
100 views

URLFOR/Component.Apex.OutputText in Unit Test causing Internal Server Error?

Background I'm trying to build the usual "URL hack" to default some field values when a new record is created. This is a simple override that basically has a page like: <apex:page ...
1
vote
0answers
52 views

Duplicate errors displayed in Visualforce using “label”/“inputField”/“required”?

Consider this simple code: <apex:page standardController="Lead"> <apex:form> <apex:pageBlock> <apex:pageMessages /> ...
5
votes
1answer
174 views

Decimals pretending to be Integers when used in Maps

I came across some very strange behaviour when working with a Map with Decimal keys today. It seems like the Decimal type can't handle Integer assignments properly, but allows them nonetheless. I've ...
1
vote
0answers
27 views

Report on Activities on Converted Leads

We need a report to show all Activities on a Lead before it was converted. Is it possible to do it? As per the Salesforce help, Activities on Leads are moved to Account, Contacts and Opportunities ...
3
votes
1answer
767 views

Task Email Notifications via APEX not working, could be a Bug in platform or as designed after Winter 15?

Database.DMLOptions dm = new Database.DMLOptions(); dm.EmailHeader.triggerUserEmail = true; Task t = new Task(Subject='Test Task', ActivityDate=date.today(), OwnerId='00590000000wND2'); ...
10
votes
7answers
626 views

Develop Console Code Coverage Issues (Winter 15' Release) - Production vs. All Test

Wondering if this is a bug or there is something about CC that just doesn't make sense to me. Below is screenshot after screenshot of example of red-lined code coverage that makes no sense. ...
2
votes
2answers
52 views

Why an Unlicensed User able to fetch data from a Managed Packaged Custom Object?

Assuming I've 2 users in my org: [User A] & [User B] Assuming I've a Managed Package CustomObject: [abc__XYZ__c] IMPORTANT: [User A] - has been assigned a License of this Managed ...
0
votes
2answers
67 views

Account Lookup while Adding Contact overrides Address

Description On the Contact object, the Account field is a lookup. As such, when adding a new contact to Salesforce, there are 3 ways to fill the Account field with data: Click the search button, ...
3
votes
3answers
1k views

Customer Portal gets 404 error trying to display logo. Bug?

I am just re-factoring a Customer Portal (not Communities) on an old org and I come across the following error - just wondering if anyone has seen something like this before. Please have a look at the ...
3
votes
1answer
86 views

Queueable interface invalid

I'm trying to deploy everything from my existing (and fully functional) development sandbox to a freshly created sandbox. One of my classes (JobQueueable) implements the Queueable-interface from ...
2
votes
0answers
108 views

Apex Code maximum trigger recursion depth with allOrNone false allows successful DML?

We recently changed some logic in a trigger, and some of the updates in the trigger mysteriously started to fail. Afterwards, we set up a simple test case to see if we could locate the cause of the ...
1
vote
3answers
1k views

apex:outputField not applying styleClass — bug?

In a Dev Org, I have a Visualforce Page where I have <apex:outputField value="{!item.Cost__c}" styleClass="item-cost"/> but the Visualforce Page doesn't apply the class item-cost to the ...
0
votes
1answer
294 views

VF Rerender auto-normalizes spaces in Text fields. Why?

I am quite sure that I have not seen this behavior before. So it might be a platform bug (or feature). This page below displays 3 text fields that are bound to an Accounts text field. If the user ...
5
votes
3answers
332 views

Javascript Remoting Update causing INVALID_TYPE_ON_FIELD_IN_RECORD for Integers

I'm passing a Javascript object through JS Remoting to update an Account record. However, if I update the NumberOfEmployees field, I'm getting the following INVALID_TYPE_ON_FIELD_IN_RECORD Employees: ...
0
votes
0answers
24 views

Keyboard of input field not working anymore on Salesforce1 after click twice on input feild [duplicate]

I have the same problem with this question Does anyone know how to make input work properly on iOS devices in Salesforce1 and since there is no solution to resolve it yet. I post it again. I tried ...
12
votes
2answers
939 views

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 ...
3
votes
1answer
389 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 ...
9
votes
2answers
184 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 ...
4
votes
1answer
379 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. ...
23
votes
1answer
885 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
36 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
52 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
51 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
136 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
259 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
1k 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 ...
11
votes
2answers
2k 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
57 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, ...
7
votes
1answer
288 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
273 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 ...
5
votes
2answers
3k 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
523 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
4k 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 ...
1
vote
1answer
1k 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
267 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 ...
2
votes
2answers
6k 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
281 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); ...
24
votes
1answer
314 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
914 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 ...