As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [platform-bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
2 votes
1 answer
321 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,280
1 vote
1 answer
227 views

Can't remove Apex Sharing reason from managed package. Why?

In my managed package I had a CustomObject__c with an Apex Sharing reason. I now want to delete the object from the package. But I can't. Because I need to delete the Sharing reasons before. Which I ...
Robert Sösemann's user avatar
22 votes
3 answers
738 views

Is it possible for a test class to create data outside of the test execution context?

If you have a test set to SeeAllData=true, and you publish a platform event that has a trigger that inserts a record, will that data actually be created in the org? trigger PlatformEvent on ...
martin's user avatar
  • 12.5k
3 votes
0 answers
844 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,280
2 votes
0 answers
62 views

Is it possible to have a field named `NameSpace__c__c`

I've been having a somewhat strange issue here when trying to create a custom field. With the following deployment, I ended up with a field that looks like it's missing the ending __c: <fields&...
martin's user avatar
  • 12.5k
10 votes
1 answer
907 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 ...
Robert Sösemann's user avatar
4 votes
1 answer
605 views

Variable does not exist: fields [= getDescribe().fields]

A couple weeks ago, in the nightly test runs some tests started failing randomly (I guess it is related to the Summer'17 release.) I was not able to reproduce this, in console or Setup test runs they ...
itsmebasti's user avatar
  • 6,280
3 votes
1 answer
909 views

Is there a Patch release schedule? Can I request my org be upgraded to the latest Patch?

I recently discovered a bug that makes it impossible to deploy subscriber triggers on Platform Events. In my sandbox environment, the bug appears to be fixed. Yay! Unfortunately, that patch has not ...
Adrian Larson's user avatar
  • 148k
1 vote
3 answers
453 views

"Developer script exception" Email not sending on Limit Exceptions

My client has a VisualForce page where users are occasionally hitting limit Exceptions (CPU Time and Viewstate Size). Our team is trying to figure out the frequency of this issue, but I'm not sure ...
NSjonas's user avatar
  • 9,885
4 votes
1 answer
360 views

Creating an encrypted text field through metadata deployment - invalid length, maximum is: 255

I defined an encrypted text field with a length of 255 and deployed it to my org. <fields> <fullName>Field__c</fullName> <externalId>false</externalId> <...
martin's user avatar
  • 12.5k
10 votes
1 answer
986 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
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
  • 53.7k
11 votes
4 answers
231 views

Ghost processes / batch processes (NA34 and NA39)

3-30-2017 Just got a call from sf tier one wanting me to show them how to replicate the issue SMH. They then point me to the dev forums and closed the case ugh We are seeing multiple customers having ...
Eric's user avatar
  • 53.7k
1 vote
1 answer
2k views

INVALID_FIELD error when adding a custom lookup field onto the Campaign History related list in lightning

The Campaign History related list is broken on the lead and contact when using the lightning experience if you have a custom lookup field on the related list. When you load the contact or lead, the ...
Robert Watson's user avatar
1 vote
0 answers
46 views

Error: Managed interface that is released can't implement new interfaces (bug?)

I have a managed package with the following class already in it: global class MyInterfaceClass { global interface InnerInterface {} global interface DeepInterface extends InnerInterface {} } ...
Mossi's user avatar
  • 3,856
4 votes
1 answer
1k views

Salesforce Internal Server - 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,982
3 votes
1 answer
1k 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://...
Robert Sösemann's user avatar
15 votes
1 answer
1k views

Enums as Map keys don't work in Batchable

I'm running into some weird behavior when using an Enum as a Key in a map. This same code works fine in other contexts, but not when in batch. I have an Enum to represent currency types: public ...
NSjonas's user avatar
  • 9,885
0 votes
1 answer
772 views

Cannot remove event in Lightning

Error shown that event is used in two applications but it is not really used. Actually the event was used in component which was used in three applications. Does anyone know why this might happen?
Patlatus's user avatar
  • 14.9k
0 votes
1 answer
26 views

Workaround for bug "W-3171561" introduced in Spring 15 release causing System.CalloutException

On February 2015 we have noticed some tests started failing suddenly on Production. We have opened a Salesforce support case and we were told that we are affected by known issue. Recently that issue ...
Patlatus's user avatar
  • 14.9k
2 votes
1 answer
261 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
  • 14.9k
1 vote
2 answers
983 views

Lightning: Passing Date in format [YYYY-M-D] gives error "Unable to read SObject's field value[s]"

Passing Date in format [YYYY-M-D] like "2016-1-1" gives error "Unable to read SObject's field value[s]" Steps to reproduce: Create custom object Custom_Object__c with Date field Date__c Create Apex ...
Patlatus's user avatar
  • 14.9k
3 votes
1 answer
2k views

How Can I Access Site.com Studio for a Community Builder Site After Winter '17?

Background: Our community was always designed to be private - but community builder lacked functionality that allowed us to select individual access settings for every page or the builder site as ...
Morgan Marchese's user avatar
11 votes
1 answer
2k views

Getting [Object object] and incorrect updates from attribute change event in <lightning:input />

I am trying to leverage the new (as of Winter '17) <lightning:input /> field to take advantage of the built-in field validation. However, if I am using several <lightning:input /> tags in ...
dsharrison's user avatar
  • 3,982
13 votes
1 answer
239 views

Developer Edition with Namespace: duplicate triggers?

In my namespaced Developer Edition org, I started using Cloud 9 IDE, which, despite being a beta, is pretty amazing. However, in one of my orgs, Cloud 9 refused to work without any explanation. I plan ...
sfdcfox's user avatar
  • 468k
5 votes
1 answer
312 views

AsyncApexJob table has additional record initially? platform bug?

I noticed when creating a new dev org, and running my first batch job. I then query the AsyncApexJob table and there are 2 records instead of the expected 1. There seems to be a default record in ...
nickforce's user avatar
  • 417
14 votes
2 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 ...
itsmebasti's user avatar
  • 6,280
2 votes
0 answers
264 views

Multiselect picklist popup broken after rerender - a Salesforce bug?

When rerendering some multiselect picklist (or any of it's ancestors), some strange things happen with the floating multiselect popup - it's collapsed, the list appears twice (see picture). It seems ...
Bart Juriewicz's user avatar
3 votes
1 answer
800 views

Wrong Url displayed after redirect to PageReference

Have some strange behavior of the URL that gets displayed in my browser after redirecting between pages with a shared controller. Reproducible Code public with sharing class FooController { ...
NSjonas's user avatar
  • 9,885
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 ...
David Mycka's user avatar
  • 1,285
4 votes
1 answer
402 views

Can't open classes in developer console

We are not able to open and modify classes with Salesforce developer console. This restriction works also for another devs with system administrator profile. The message : Has anyone seen this ...
Martin.Kona's user avatar
4 votes
1 answer
98 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 ...
NSjonas's user avatar
  • 9,885
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 ...
NSjonas's user avatar
  • 9,885
1 vote
0 answers
161 views

actionpoller interval param will not use controller property?

I have a VF page that presents a wizard. Step 3 is a progress bar that periodically checks the status of a batch of requests sent off during step 2: <apex:pageBlock rendered="{!step == 3}" title="...
Jason Clark's user avatar
  • 11.4k
11 votes
1 answer
6k views

Lightning: Get list view records

How can one get ALL the records from a list view in a visualforce page running in Lightning? (Since no checkbox for selecting are available) Similar old question. With an adaptation from that ...
Jose's user avatar
  • 2,092
3 votes
0 answers
125 views

List Metadata Missing CaseComment?

Are there any restrictions on which standard objects are returned with a list metadata call for CustomObject or Workflow? Taking a stab at fixing a mavensmate bug which builds it's project manager ...
Ralph Callaway's user avatar
9 votes
1 answer
10k 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
1 vote
0 answers
40 views

no contact field for JS button in Quote

Maybe it's Friday or something, but I have one JS button on detail page for Quotes and I wanted to check if Contact field filled, but as it turned out I can't access it from there. And it even isn't ...
ytiq's user avatar
  • 4,385
0 votes
0 answers
68 views

SalesForce Winter '16 Release Bugs

I wanted to warn you regarding two bugs of the Winter '16 Release: When creating a new user, after filling the details and pressing the "Save and New" button, in case you got a duplicate User-Name (...
Uri Lukach's user avatar
  • 1,254
2 votes
1 answer
70 views

Unable to Change Log Levels - Winter '16

Working in sandbox with Winter '16 and when I try to change the log levels the page stalls I've checked the known issues list and haven't gotten any results. Has anyone run to this? Any workarounds ...
Ralph Callaway's user avatar
4 votes
0 answers
187 views

Calling APEX out of JavaScript the APEX-API Version is ignored

I run in an issue with calling APEX out of JavaScript, when i call my APEX class, the class is executed with API-version 34.0, but in the metadata of this class is the API-version set to 27.0. I need ...
Nils Rosen's user avatar
4 votes
1 answer
840 views

Residue from managed package problem

I installed and then uninstalled a managed package on a sandbox multiple times. Then when I last tried to install the package again it gave some wierd errors(5 of them): (Activity.Custom_Field__c) ...
stefan's user avatar
  • 135
1 vote
1 answer
219 views

sforce.connection.remoteFunction() response "double" double quoted?

I'm making a callout to a REST Resource using the sforce.connection.remoteFunction() and getting a strange result. My RestResource returns a String. @RestResource(urlMapping='/demo/*') global class ...
NSjonas's user avatar
  • 9,885
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.5k
4 votes
1 answer
119 views

Salesforce Strange Screen when Login

Today I saw a strange screen when tried to login to Salesforce environment. I seems like a server default page. But curious to know if someone has seen this screen previously. In addition I am little ...
Ashwani's user avatar
  • 22.4k
1 vote
0 answers
272 views

Apex Scheduled Jobs Error

I am trying to scheduled a job but I get the following error: You have exceeded the maximum number (100) of Apex scheduled jobs. However when I checked my current scheduled jobs, I see only 2 jobs ...
RajeshShah's user avatar
  • 1,754
7 votes
2 answers
4k views

Email Alert Fails with Sites User "INSUFFICIENT_ACCESS_OR_READONLY, user does not have access to use approval assignment email template: []"

Question Is there anyway to get workflow email alerts to work when sent based on an action from a Sites user? Background We have an integration that pushes records into our system via a force.com ...
Ralph Callaway's user avatar
3 votes
0 answers
461 views

ValidationRule queried via REST API returns Deleted objects VR too and that results in error with GACK?

UPDATE [15 Jul'15] : Salesforce support confirmed that this is indeed a bug and their Research & Development team is working on this case and the matter is under our observation. Here is the ...
Chirag Mehta's user avatar
  • 1,261
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