Skip to main content

Questions tagged [platform-bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Unable to package 'Related Record' standard component on a lightning record page within my managed package

I've a lightning record page, with Related Record standard component within Lightning App Builder. I put the component to pull in related record information but when I package the page I am unable to ...
VarunC's user avatar
  • 6,000
0 votes
0 answers
29 views

unable to sync the selected radio button with apex contoller

I have created a visualforce page : <apex:page standardController="Contact" extensions="ContactMergeSelectionController"> <apex:form > <apex:...
Dev Khandelwal's user avatar
0 votes
1 answer
68 views

getting error: Invalid field otheraddress for Contact while using .put('otheraddress', value)

In my contact object, I have a field name as "otheraddress" From the apex code, I am first getting the field value and if it is null then I am modifying the value of the field. getting first ...
Dev Khandelwal's user avatar
9 votes
1 answer
388 views

Map with object as key behaves weirdly

consider the following code : Map<Object, Object> m = new Map<Object, Object>(); String s = 's'; m.put(IAccounts.class, s); // any type here does the trick System.debug(m.containskey(...
Julien Gaïotto's user avatar
4 votes
2 answers
228 views

Packaged CMDT record fails to update even for Sysadmin

Note: There is a related Salesforce Support Case #45059901 Convinced by the answers of some real ISV experts, I refactored my Managed Release Package from ugly Custom Settings to Custom Metadata with ...
Robert Sösemann's user avatar
3 votes
1 answer
356 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 ...
Robert Sösemann's user avatar
2 votes
2 answers
729 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 ...
arut's user avatar
  • 5,321
0 votes
1 answer
91 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 ...
Mateusz B's user avatar
  • 113
3 votes
0 answers
90 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 ...
Mateusz B's user avatar
  • 113
3 votes
1 answer
2k 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 ...
Patlatus's user avatar
  • 17.3k
3 votes
3 answers
5k 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 ...
Mahmood's user avatar
  • 5,966
0 votes
0 answers
253 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 ...
itsmebasti's user avatar
  • 6,477
5 votes
1 answer
1k 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 ...
Robert Sösemann's user avatar
1 vote
0 answers
523 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 ...
Olivia's user avatar
  • 3,471
4 votes
2 answers
216 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(); ...
Robert Sösemann's user avatar
0 votes
3 answers
903 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 ...
eaeaoo's user avatar
  • 928
2 votes
0 answers
847 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 ...
Robert Sösemann's user avatar
1 vote
3 answers
782 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 ...
nchursin's user avatar
  • 1,001
3 votes
1 answer
443 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 ...
Sushant Srivastava's user avatar
9 votes
0 answers
452 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 ...
Robert Sösemann's user avatar
4 votes
1 answer
466 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 ...
MLucci's user avatar
  • 1,098
5 votes
1 answer
436 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 ...
Robert Sösemann's user avatar
0 votes
0 answers
211 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 ...
Daniel Deepak's user avatar
2 votes
1 answer
881 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 ...
Robert Sösemann's user avatar
0 votes
0 answers
390 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 ...
K Nandeeswara Raju's user avatar
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 (...
Adam M's user avatar
  • 151
2 votes
0 answers
136 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())...
mkorman's user avatar
  • 4,056
3 votes
1 answer
177 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 ...
sfdcfox's user avatar
  • 497k
5 votes
1 answer
506 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....
Charles Koppelman's user avatar
1 vote
0 answers
131 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 ...
metasync's user avatar
  • 1,772
4 votes
2 answers
535 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 ...
VarunC's user avatar
  • 6,000
4 votes
1 answer
705 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 ...
itsmebasti's user avatar
  • 6,477
4 votes
0 answers
61 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 ...
gaiser's user avatar
  • 1,370
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)...
Hemavantha Rajesh Varma Mudunu's user avatar
8 votes
0 answers
3k 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 ...
itsmebasti's user avatar
  • 6,477
0 votes
0 answers
380 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 ...
VarunC's user avatar
  • 6,000
10 votes
3 answers
1k 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 ...
Grekker's user avatar
  • 1,092
1 vote
0 answers
83 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"?> &...
martin's user avatar
  • 12.7k
10 votes
1 answer
1k 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 ...
itsmebasti's user avatar
  • 6,477
1 vote
1 answer
353 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: "...
moth's user avatar
  • 454
2 votes
1 answer
7k 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 ...
Vladimir Egikyan's user avatar
8 votes
1 answer
871 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 ...
battery.cord's user avatar
  • 8,845
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 ...
Patlatus's user avatar
  • 17.3k
15 votes
2 answers
4k 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 ...
Ralph Callaway's user avatar
2 votes
0 answers
274 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 ...
Robert Sösemann's user avatar
6 votes
0 answers
1k 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 ...
Robert Sösemann's user avatar
15 votes
1 answer
162 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 ...
itsmebasti's user avatar
  • 6,477
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 &...
VarunC's user avatar
  • 6,000
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....
NSjonas's user avatar
  • 10.2k
3 votes
0 answers
568 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(...
NSjonas's user avatar
  • 10.2k