Questions tagged [platform-bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
dsharrison's user avatar
  • 3,992
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-...
Sonal's user avatar
  • 545
49 votes
4 answers
2k views

How can we get "Developer" bugs logged with Technical Support?

I recently found a bug, which I mentioned on The Force.com Discussion Boards, as well as submitting a case, and after a few days fumbling around with the case, they closed it by saying that they only ...
sfdcfox's user avatar
  • 481k
14 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
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 ...
Ralph Callaway's user avatar
8 votes
1 answer
1k views

Unable to implement HTTPMock from Managed package in Local Test Methods - Complete example with package

A while ago SF began failing tests that make callouts without an HTTP mock. When they did that we were unable to deploy some trigger as a managed package made a callout whenever an Opportunity was ...
Eric's user avatar
  • 54k
6 votes
1 answer
3k views

Salesforce api v28 not rendering CSS styling when rendering as PDF

I'm creating a Visualforce page rendered as a pdf ( renderAs="pdf" ), and the page won't render any of my CSS styling. I am wrapping my <style> with <head> as shown below. <apex:page ...
Scott Pelak's user avatar
  • 7,484
4 votes
1 answer
406 views

Customer org corrupted: Public class deleted in 1.2 magically gets deprecated in 1.1.1 patch

We pushed patch 1.1.1 of our managed app to a customer production org which worked fine in their sandbox for the last weeks. After the installation our customers faces compile-time type errors as Apex ...
Robert Sösemann's user avatar
3 votes
2 answers
2k views

Can't add lightning:progressStep in lightning:progressIndicator using aura:iteration

With the Winter'18 new Lightning Base components I tried to create a lightning:progressIndicator with lightning:progressStep dynamically using an aura:iteration: <aura:component> <aura:...
Robert Sösemann's user avatar
3 votes
0 answers
851 views

Lightning "change" event doesn't fire in aura:Iteration

I am passing an Object to my component and iterate through it's child records. To handle changes I added the Lightning change handler. (I made data an array, so I can set a default for demo purposes, ...
itsmebasti's user avatar
  • 6,359
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 ...
David Staley's user avatar
10 votes
1 answer
1k views

Are @future methods ignored in @TestSetup blocks?

Ok, this is going to become a quite long question. The main goal is to document strange platform behavior and maybe learn more why this happens. It all started with that test which failed because ...
Robert Sösemann's user avatar
9 votes
0 answers
421 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
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,359
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 ...
Shane McLaughlin's user avatar
6 votes
2 answers
757 views

Losing StandardSetController selected records with first visit to VF page

I have a VF page that leverages a custom object's StandardSetController to compare records. I created a custom button to allow users to select records of that object from a related list and compare ...
geeljire's user avatar
  • 1,256
4 votes
2 answers
187 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
4 votes
1 answer
1k views

Returning an object from an AuraEnabled method with properties named r or s

When you run the code below, everything works as expected. The console logs an object with all of the a-z properties minus r and s of course since they are commented out. If you uncomment s, the ...
martin's user avatar
  • 12.6k
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
2 votes
2 answers
3k views

SingleEmailMessage SetWhatId with Quote Id

I am currently recreating much of the OOB Quote functionality in Apex and I am almost complete. Now there is just one other hurdle, the Email Quote functionality. Now, it doesn't seem like an issue......
Programmable Medley's user avatar
2 votes
1 answer
265 views

Passing complex structured data type from Lightning to Apex Controller causes Internal Error with Gack Id 263119078

Passing complex structured data type from Lightning to Apex Controller causes Internal Error with Gack Id 263119078 var action = component.get( "c.saveModel" ); action.setParam( "model", ...
Patlatus's user avatar
  • 16k
2 votes
1 answer
333 views

RecordTypeId is not queried in Tests

RecordTypeId is automatically selected when we query records with SOQL. This executes just fine in the anonymous console: Case c = new Case(RecordTypeId = '0120O000000jopF'); insert c; Id rt = [...
itsmebasti's user avatar
  • 6,359
1 vote
1 answer
774 views

Why is my workflow not firing? - "100 <> null" evaluates to false? null formula comparison issues?

Question In a workflow formula criteria, what's the expected behavior when comparing nulls with the <> operator? Details I've got a basic workflow that seems like it should fire but ...
Ralph Callaway's user avatar