The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
31 views

Unable to Save Record with on load initialized Date Field in Lightning Component in Summer '16 org

Record cannot be saved if we have an ui:inputDate control in the Lightning Component and is preset to a date value (like today) on component initialization in a Summer '16 organization. The code is ...
4
votes
1answer
29 views

Error: Unknown property referenced in TestPage… Bug or Feature?

Salesforce telephone support tells me that I should not use Visualforce variables in this way because they're only intended for display in a Visualforce page and not for inclusion in a calculation. ...
1
vote
1answer
77 views

Is there a bug on the when querying the FieldHistoryArchive table?

Is there a bug on the when querying the FieldHistoryArchive table? Background: The FieldHistoryArchive table is neither available from dataloader nor dataloader.io So I had to go with Workbench on ...
1
vote
0answers
16 views

BUG: Unable to clear Platform Cache, Missing Capacity Visuals

I'm not sure why this happens or how to fix it... usually it just fixes its self within moments or hours (never really consistent). But some how the partition visuals just disappear. Unfortunately ...
1
vote
1answer
49 views

Apex addError() works only for text/number SObject fields, when use inlineEditSupport in pageBlockTable

I have few custom validations, which i use in my controller. And i found that not for all fields it works correctly. I figured out that it shows only message, but doesnt show error near the inputField ...
0
votes
1answer
56 views

Case assignment rule is always executed in the test class

No matter what to do, the case is always assigned by the assignment rule!! You can try the scenario and code which are attached in the post. But, I have tried to execute the code in the developer ...
9
votes
1answer
190 views

Lightning: Get list view records

How can one get ALL the records from a list view in a visualforce page running in Lightning? (Since no checkbox for selecting are available) Similar old question. With an adaptation from that ...
0
votes
1answer
34 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 ...
14
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
210 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
70 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 ...
13
votes
1answer
164 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
60 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
122 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
30 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 ...
11
votes
2answers
62 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
143 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
59 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 ...
6
votes
2answers
124 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
95 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
210 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
36 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
945 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
749 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
61 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
85 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, ...
4
votes
3answers
2k 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
88 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
121 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
412 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
378 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 ...
13
votes
2answers
1k 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 ...
4
votes
1answer
466 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 ...
10
votes
2answers
197 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
406 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. ...
25
votes
2answers
1k 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
54 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
147 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
303 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 ...
12
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
59 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
298 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
295 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 ...
6
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
615 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 ...