Questions tagged [platform-bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
193 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
87 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 ...
  • 5,037
0 votes
0 answers
50 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
65 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
945 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 ...
  • 14k
2 votes
1 answer
2k 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 ...
  • 5,592
0 votes
0 answers
187 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 ...
  • 6,170
4 votes
1 answer
547 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
155 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 ...
  • 3,257
4 votes
2 answers
168 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
714 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 ...
  • 888
2 votes
0 answers
429 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
394 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 ...
  • 961
3 votes
1 answer
282 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
370 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
377 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 ...
  • 1,098
5 votes
1 answer
313 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
179 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
607 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
299 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 (...
  • 151
2 votes
0 answers
124 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,966
3 votes
1 answer
143 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 ...
  • 445k
5 votes
1 answer
301 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
97 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 ...
  • 1,660
4 votes
2 answers
411 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 ...
  • 5,686
4 votes
1 answer
448 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 ...
  • 6,170
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 ...
  • 1,360
2 votes
2 answers
962 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 ...
  • 6,170
0 votes
0 answers
375 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 ...
  • 5,686
10 votes
3 answers
891 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 ...
  • 982
1 vote
0 answers
48 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"?> &...
  • 12.4k
10 votes
1 answer
560 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 ...
  • 6,170
1 vote
1 answer
307 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
4k 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
756 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 ...
  • 8,605
7 votes
2 answers
1k 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 ...
  • 14k
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
233 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
886 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
151 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 ...
  • 6,170
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 &...
  • 5,686
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....
  • 9,607
3 votes
0 answers
554 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(...
  • 9,607
3 votes
0 answers
692 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"&...
  • 6,170
7 votes
3 answers
8k 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 ...
  • 6,170
4 votes
0 answers
101 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 ...
  • 6,170
3 votes
1 answer
647 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 ...