Questions tagged [platform-bug]
The platform-bug tag has no usage guidance.
136
questions
3
votes
1
answer
237
views
Resubmit for Security Review without Patches
I am working for an existing AppExchange ISV Partner that missed the deadlines for Security Review resubmission. When that happens Salesforce is not only taking your Listing down but also deactivating ...
2
votes
2
answers
164
views
Does SOQL query on Attachment Object needs to be done asynchronously?
Problem statement:
External system is creating a custom object record and placing an attachment to the same record via composite REST API. After Insert trigger code that runs immediately for further ...
0
votes
1
answer
79
views
Packaging the TCRM app template
I'm currently working on a 2GP Managed Package that bundles Einstein Analytics (a.k.a. Tableau CRM) artifacts like templates, dashboards, datasets, dataflows.
For Map Chart I have custom Map in ...
3
votes
0
answers
77
views
Packaging Einstein/Tableau artifacts in 2GP Managed Extension fails
I'm currently working on a 2GP Managed Package that bundles Einstein Analytics (a.k.a. Tableau CRM) artifacts like templates, dashboards, datasets, dataflows.
When I upload a new version using SFDX ...
3
votes
1
answer
1k
views
How do I avoid Uncaught TypeError: Cannot read property 'tagName' of null throws at /jslibrary/1607407272232/sfdc/AuraAlohaFrameNavigator.js:150:109?
How do I avoid the error?
Uncaught TypeError: Cannot read property 'tagName' of null throws at https://domain.visualforce.com/jslibrary/1607407272232/sfdc/AuraAlohaFrameNavigator.js:150:109
There is a ...
2
votes
2
answers
3k
views
Record has no potential duplicates but duplicate record set still exists
I have a duplicate rule on Account that is triggered matching of a field. Once the duplicate rule runs, it identifies two accounts with the same field value as duplicate and a duplicate warning on the ...
0
votes
0
answers
207
views
What is lwc doing to custom ES6 Proxies?
The Problem:
I am experiencing broken behavior when I pass Proxies as Event details or as public properties.
Requirement: they need to wrap a {nested: {value: "Foo"}}. I experienced this ...
4
votes
1
answer
712
views
Lifecycle hooks in extended LWC fail if Base LWC called connectedCallback
If I extends a base lightning-datatable like this Lifecycle hooks in the extended LWC will not work when the Base Component is calling connectedCallback.
connectedCallback will be called but clicking ...
1
vote
0
answers
259
views
Opportunity List View Filter By Owner Is Null
This seems like a bug as I am not sure how this is possible...I am looking back at a saved list view for Opportunity and the Filter By Owner radio buttons are empty. Typically when creating a list ...
4
votes
2
answers
179
views
Param is unnamed__0 if StubProvider used on interface (instead class)
I am unable to use the System.StubProvider to mock/stub a complicated Backend class of which I have no implementation but only an interface
public interface ShopBackend {
void initialize();
...
0
votes
3
answers
790
views
Is 'Where is this Used Button' reliable?
I've got a field which is definitely being referenced in a visualforce page (in an inputfield, and being written to from there) as well as being part of a criteria in a process builder, but when I ...
2
votes
0
answers
551
views
"LimitException: Batchable instance is too big" when scheduled batch runs at night
Note: This is not a duplicate of the other similar questions. We checked them before. So please don't close this as a duplicate!
When calling this batch class in a production org:
global class ...
1
vote
3
answers
499
views
Why the AuraEnabled method throws an internal error when a namespace is enabled
We used nested classes in LWC controller to have a single class with all the AuraEnabled parameters. That works in a no-namespace environment but stops working when we either package that or deploy to ...
3
votes
1
answer
326
views
Installing Unlocked Package in Production fails with conflicts
I have an unlocked package with custom object Person__c and field Account__c as a lookup on the account.
I tried installing this package in an org where Person__c object is already available with ...
9
votes
0
answers
389
views
Upgrade of Unlocked Package changed RecordTypeId of existing records
I have an Unlocked SFDX Package with a CustomObject__c and two Record Types RTypeA and RTypeB.
The object and the two types have existed in the package before my update. Before the upgrade all ...
4
votes
1
answer
417
views
Aura localizationservice: broken format/parse with some locales
We're having an issue with a custom-build form date input component.
The component formats Javascript date objects into user-friendly strings for user display/input, i.e. "5 May 2019", and then parses ...
5
votes
1
answer
339
views
"Decryption Exception" errors on Named Credential
I have callouts that use a Named Credential and a Custom Oauth2 Auth Provider fail with this error response:
Invalid parameter value "[hidden]" for parameter "Decryption
Exception"
A similar ...
0
votes
0
answers
205
views
Problem with a standard Lightning Component tag in my sandbox probably after the Winter'20 Update. Where should I request to fix this issue?
Using the following code I am getting two pop-ups if I hover a stage. I also tried these exact codes on other editions(including developer edition). Its working perfectly alright. I even found the bug ...
2
votes
1
answer
695
views
Unauthorized endpoint when calling Metadata API from Apex in @future
I am running into the exception
IO Exception: Unauthorized endpoint, please check
Setup->Security->Remote site settings. endpoint =
https://eu25.salesforce.com/services/Soap/m/42.0
when ...
0
votes
0
answers
337
views
System.DmlException: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, A workflow or approval field update caused an error when saving this record in Apex
Full Error message:
System.DmlException: Process failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, A workflow or approval field update caused an error when saving ...
4
votes
1
answer
3k
views
Is anyone getting deployment issues with Task object? New list views from 46 causing errors
When I'm trying to deploy the native Task object to another sandbox, I am getting errors:
objects/Task.object (Task.CompletedTasks) -- Error: Value too long for field: Name maximum length is:40 (...
2
votes
0
answers
130
views
Intermittent, inconsistent issue deleting BigObjects
we have an intermittent issue when deleting big objects. We have a scheduled job that runs every 30 minutes, and if some conditions are met, it runs the following:
try {
if (!Test.isRunningTest())...
3
votes
1
answer
152
views
User Visibility in Lightning Components in Summer '19 Release?
We have a component we developed some time ago, and needed to make some changes to it. In the sandbox we are using to develop the changes in, we are now getting an error when we try to save the ...
5
votes
1
answer
355
views
Any way to get Child Relationships without being bound by user permissions?
Question
User object-level permissions limit the results of DescribeSObjectResult.getChildRelationships(). Are there any workarounds?
I have submitted an Idea about this (https://success.salesforce....
1
vote
0
answers
101
views
No such column 'CustomReportId' on entity 'DashboardComponent'
We are getting this error while trying to link dashboards and reports. This field is there in sandboxes but missing in our dev orgs.
Since it is standard object, this field cannot be managed in ...
4
votes
2
answers
471
views
SObjectType.newSobject(null, true) doesn't populate default values if called in vf action method, any tips?
I'm trying to create an sObject instance using following code:
Schema.SObjectType targetType = Schema.getGlobalDescribe().get(objectName);
sObject sObj = targetType.newSObject(null, true);
This ...
4
votes
1
answer
501
views
Converting Set to List creates duplicates of my Sobjects
I am adding manipulated Accounts to a Set multiple times and update it. It fails due to a Duplicate id in list exception. What should be impossible, because the values are coming from a set. After ...
4
votes
0
answers
54
views
Bug: blank locationsNotCovered returned from REST: /tooling/runTestsSynchronous/
Starting a few days ago SFDC sandboxes upgraded to Winter 19 started to return blank locationsNotCovered node in /tooling/runTestsSynchronous/ result
For example - a basic call with 1 test class like ...
2
votes
2
answers
1k
views
Not Receiving Unhandled Exceptions Emails
I had have a very minimal code to throw null pointer exception intentionally. The reason was we're not receiving exception emails. We even reached out to support(You know how it can be painful process)...
8
votes
0
answers
2k
views
getRecordTypeInfosByDeveloperName doesn't work with duplicate Developer names
Our product comes with a couple objects including RecordTypes.
In our customer org I'm adding some RecordTypes and experienced, that I can give them names that the packaged types already have.
So now ...
0
votes
0
answers
376
views
Lightning Component as actionOverride for Standrad NEW Button, do not prepopulate parent record data [duplicate]
I'm trying to use <lightning:recordEditForm> in a Lightning Component as an Action Override using lightning:actionOverride interface.
I've overridden the Contact New button with this Lightning ...
10
votes
3
answers
934
views
Is it impossible to dynamically instantiate an instance of lightning:menuItem?
This question is about a potential Lightning platform bug I ran across today. In my search for a resolution I ran across this post from last year that was never answered, that seems to have the ...
1
vote
0
answers
59
views
Account sharing rules based on province/state code
I have a criteria based sharing rule that is supposed to provide access to a group of users based on the shipping province/state code of the accounts.
<?xml version="1.0" encoding="UTF-8"?>
&...
10
votes
1
answer
666
views
FOR UPDATE returns old values
I use FOR UPDATE locking in a query but when the first execution completed, the second execution (started while records were locked) seems to use the old data set.
I played around for a while and ...
1
vote
1
answer
321
views
External Object general error message on login
When logging into an org as a System Admin, I receive the following error:
The text of the error message: "Developer error in file apex://Order__x at line number -1"
Stack trace error message: "...
1
vote
1
answer
5k
views
Get picklist value LABEL in formula field
My question can sound trivial, but the issue below seems to be serious.
We can use TEXT(field) to get picklist value in formula field.
The issue is that this method returns API name of particular ...
8
votes
1
answer
795
views
SLEEPY Strikes again - Validation bugs
I've got a class which uses a wrapper class to handle OpportunityLineItem's which both have ids and don't have an id. Before calling an upsert on these records to update them, I extract the records ...
7
votes
2
answers
2k
views
Internal Salesforce bug: "Cannot grant or remove a profile with modify all data, without having the modify all data permission yourself."
We receive "Cannot grant or remove a profile with modify all data,
without having the modify all data permission yourself." exception message when it shouldn't appear.
When there are two users, User ...
14
votes
2
answers
3k
views
When are unhandled exception emails suppressed and not sent? or Why do I not always get exception emails even though I've set them up?
The Background
According to the help docs
When unhandled Apex exceptions occur, emails are sent that include the
Apex stack trace and the customer’s org and user ID.
However I frequently encounter ...
2
votes
0
answers
249
views
Lightning Components go crazy with errors and CPU when Debug Mode on
When I enable the Debug Mode for Lightning components in the Setup most of my Lightning components literally go crazy. They bombard me with cryptic erros like that and after a while my Chrome brings ...
6
votes
0
answers
945
views
lightning:input behaves strangely with Non-US(german/french) locale
In my app there are many users with a German or French locale. Both have in common that they use comma as decimal separator (opposed to Apex, JS and US-citizens which use a dot .) The dot instead is ...
15
votes
1
answer
154
views
Passing calculated values to components makes them immutable
I'm calculating a value while I pass it to a component. But for some reason this makes it immutable, so I can't update it in my component. These are some cases I played with:
<aura:application ...
2
votes
2
answers
12k
views
How to reset attribute value to null in Lightning Component?
I'm trying to reset an attribute value to null. But when I execute reset button call, the value in the textbox is cleared BUT it does not get cleared from display.
Here is a sample code.
TestCmp
&...
16
votes
3
answers
1k
views
Is Apex Casting is not transitive?
Seems as though casting is not transitive in some cases. Consider trying to get an Integer from an SObject number field.
Integer myInt = (Integer) mySObject.get('My_Field__c');
Throws:
System....
3
votes
0
answers
561
views
Using PRIORVALUE function on custom object parent relationship in process builder not working?
Let's say I want to do some action when a Contact is reparented from an Account of a certain Type. I've created a process with this condition:
ISCHANGED([Contact].AccountId) &&
ISPICKVAL(...
3
votes
0
answers
780
views
Queue/Serialize Incoming REST API Requests
I'm looking for a way to queue incoming HTTP Post requests.
Apex REST API handlers are executed in parallel on separate threads. This introduces race conditions if any new records are inserted by ...
2
votes
1
answer
2k
views
lightning:combobox readonly atrribute is not working
According to the lightning:combobox documentation readonly should be set to false, but in the markup it renders like this:
<input type="text" role="textbox" ... readonly="true" class="slds-input"&...
7
votes
3
answers
9k
views
Percentage in Lightning Components is not working correctly
It seems like Lightning isn't capable yet, to display percentage values intuitively.
I used many different ways to display the value with input and output formatted as percentage and all the ...
4
votes
0
answers
103
views
record.clone().clone() instead of .clone()?
We are using Andrew Fawcett's SObjectDataloader Library where I fixed a couple things and stumbled over odd behavior that I couldn't find valid explanation for.
So in the Library, records are ...
3
votes
1
answer
649
views
Tests fail (only) during upload with "CalloutException ..uncommitted work pending"
This must have its root cause in a Winter '18 change/bug as this worked before for years.
When uploading a big (takes a while to upload) managed packaged that contains Apex Tooling API - REST edition ...