Questions tagged [platform-bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 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 ...
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:...
0 votes
1 answer
48 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 ...
11 votes
1 answer
1k views

Total Batches increase during the run of a batch (again)

I experienced a batch that changed (increased) the #TotalBatches during its execution. 104 total batches Reload. 106 total batches I experienced this year ago (see this question Total number of ...
9 votes
1 answer
348 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(...
5 votes
1 answer
2k views

Internal Server Error - What's in a GACK?

Background I have been working with Salesforce Support for several weeks now trying to get them to escalate an internal server error with GACK 2134764861-123797 (1611479512) (1611479512). After a ...
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 ...
14 votes
3 answers
4k views

SOQL ignores : WHERE RequiredLookup__c = null

I just figured out, that SOQL ignores null checks on required fields. It seems to expect that required fields can never be null. In my case it's a new field, so a bunch of records actually have null ...
4 votes
2 answers
206 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 ...
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 ...
3 votes
1 answer
340 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 ...
9 votes
1 answer
11k views

What causes REQUEST_RUNNING_TOO_LONG test errors?

For most of our clients we've got a basic ant script that does a test deploy every night to make sure all the tests pass. Occassionally, we'll get a REQUEST_RUNNING_TOO_LONG error. What's strange is ...
2 votes
2 answers
529 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 ...
3 votes
0 answers
85 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 ...
2 votes
1 answer
2k views

Cannot Deploy Field: Picklist value is too long for the max size of 40

I'm trying to do a deployment on to a sandbox and I'm getting an odd error: Picklist value is too long for the max size of 40 As far as I know this limit has been removed for some time and confirm ...
0 votes
3 answers
886 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 ...
1 vote
3 answers
726 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 ...
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 ...
2 votes
1 answer
854 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 ...
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 ...
9 votes
0 answers
438 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 ...
0 votes
0 answers
241 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 ...
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 ...
1 vote
0 answers
500 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 ...
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 ...
4 votes
2 answers
209 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(); ...
20 votes
3 answers
4k views

Rest Routing with Multiple Wildcards / Supporting REST Routing for Nested Resources

Question Running into a SalesForce REST mapping issue involving multiple wildcards in an url. Is this not supported? Is there anyway to supporting routing for nested resources? My Setup I have this ...
2 votes
0 answers
763 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 ...
3 votes
1 answer
409 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 ...
4 votes
1 answer
453 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
417 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
207 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 ...
7 votes
3 answers
10k 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 ...
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"&...
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 (...
10 votes
1 answer
3k views

Error on uninstalling package via apex

I am getting the below error while uninstalling a package using metadata service. This issue is coming sometimes Error:- . common.exception.SfdcSqlException: ORA-20011: 10743448001074344800126 ORA-...
0 votes
0 answers
386 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 ...
7 votes
3 answers
5k views

Scheduled batch "already scheduled"

I had a batch job that I tried to start. Its "startup" method that launches it checks to see if it's already running by querying the asyncjob object, then starts it only if it's not running already ...
4 votes
0 answers
943 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
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())...
3 votes
1 answer
171 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
486 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....
4 votes
1 answer
99 views

SOQL not returning row (when it should be)

Running into a very weird issue that is actually causing preventing my IDE from compiling (mavensmate)... When Mavensmate compiles, it first checks the server version of the file to make sure it can ...
10 votes
3 answers
982 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 ...
3 votes
1 answer
2k views

Not full URL in Referer header in Visualforce since Spring '17

I have a Visualforce page and controller relying on the HTTP Referer header. ApexPages.currentPage().getHeaders().get('Referer') Before my org was upgraded to Spring '17 this returned e.g.: https://...
2 votes
0 answers
265 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 ...
1 vote
0 answers
121 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 vote
2 answers
4k views

Change Set with Record Type Changes Deploys Succesfully But Doesn't Actually Update Anything [closed]

I'm trying to migrate some record type changes to help keep my sandboxes in sync, but they aren't getting deployed. I've confirmed the deployment succeeds, but none of my changes come through, and ...
4 votes
2 answers
530 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
638 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 ...