Questions tagged [bug]
The bug tag has no usage guidance.
192
questions
7
votes
1
answer
598
views
Possible bug in SOQL LIMIT clause
I've just encountered a weird behaviour of SOQL and I wonder if it's a bug or maybe some feature I do not understand: looks like the compiler lets you add an incorrect LIMIT clause - LIMIT1 for ...
0
votes
0
answers
53
views
Change in behaviour of toLabel() function in SOQL query for Knowledge__DataCategorySelection
There has been a change in behaviour of toLabel() function in SOQL for Knowledge__DataCategorySelection object's DataCategoryName field after Summer 23 release for Salesforce.
Before the Summer 2023 ...
0
votes
1
answer
53
views
SOQL Query error: Illegal Integer
I found an interesting bug when trying to query for a Campaign based on the NumberSent field.
When executing the following query I'm receiving 'Illegal Integer' error:
system.debug([select id from ...
0
votes
0
answers
2k
views
Getting UNKNOWN ERROR: read error on connection to ec2-34-194-152-137.compute-1.amazonaws.com:6379 [duplicate]
Getting this error I see others have as well. Do we just wait it out?
1
vote
1
answer
25
views
Salesforce Assignment checker claiming the output from my method is wrong when it's not
Trying to finish the final assignment for the Visualforce Basics,
Create & Use Custom Controllers after checking the challenge it says as
"The method 'getNewCases' isn't working as expected. ...
1
vote
1
answer
147
views
Apex instanceof Id sometimes false positive
I recently found that some strings, which are very much NOT Salesforce Ids, will cause instanceof Id to return a false positive.
Example:
String extId = '243209199570387970';
Boolean isId = extId ...
0
votes
0
answers
382
views
Report Subtotal Amount not displaying correctly
Trying to find a solution for why the subtotal (and by extension all formulas based off this) are not displaying the correct total. Correct total for this column should be 71. It displays 12. Any ...
2
votes
0
answers
104
views
Uncaught Error in $A.getCallback() while clicking twice a Button in Aura Component
I have been stuck with this bug for over a week.
When I click a button twice, I get the following error:
Uncaught Error in $A.getCallback() [Cannot read properties of undefined (reading 'config')]
...
0
votes
1
answer
33
views
VisualForce bug when updating a record in visualForce action
I have a visualForce page with an action that download the page. I need the pdf I download to show a field of my record, the problem is that all updates I do on my record in my function that the ...
0
votes
0
answers
28
views
Bizarre Behavior Calling Constants in Separate Class
seeing some odd behavior in this code.
I have constants class...there are several constants but I have only included the problem constant for this example.
When I set an integer varible to a constant ...
1
vote
1
answer
582
views
Test if a Time field value changed in flow decision... causing exception
I ran into an issue with a flow who stopped with an error, giving no more details than :
UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this
ErrorId if you contact support: ...
0
votes
0
answers
87
views
line 17, column 37: Method does not exist or incorrect signature
The full error I'm receiving is the following and I can't find the problem for the life if me.
line 17, column 37: Method does not exist or incorrect signature: void
setJobOperationStatus(List<...
4
votes
2
answers
500
views
Do 2GP Managed Packages send email notifications on unhandled Apex errors?
Other than the official documentation and related SFSE questions indicate the Error reporting of Second Generation Managed Packages (2GP) seems to behave differently that with 1GP.
I want to make this ...
2
votes
1
answer
5k
views
html select is not working when manipulated from js
I am currently writing an LWC OSS project and am currently confused about some reproducible side-effects on a <select>. The element can be "injected" from outside, by setting the value ...
0
votes
2
answers
1k
views
Cannot retrive picklist values in LWC ERROR: Error during LWC component connect phase: [Cannot read properties of undefined (reading 'values')]
// Object = Free_Budget__c
// Picklist = Reason__c
import { getPicklistValues, getObjectInfo } from 'lightning/uiObjectInfoApi';
import Reason from '@salesforce/schema/Free_Budget__c.Reason__c';
...
3
votes
1
answer
464
views
SFDX force:source:diff not in Documentation
More than two months ago, the VS Code command SFDX Diff File Against Org stopped working for SObject related metadata (see issue #3586 in GitHub).
Wondering what might delay a much needed fix, I have ...
2
votes
2
answers
901
views
Found an interesting issue in Apex (compiling Illegal forward reference)
If we try to compile following code we get an error Illegal forward reference: forwardVariable (2:40)
public with sharing class A {
public static String incorrectReference = forwardVariable;
...
7
votes
2
answers
472
views
what/who.(RecordType.Id vs RecordTypeId) SF Bug
Task[] tasks = [SELECT Id FROM Task WHERE What.RecordType.Id = :AccountsHelper.getPersonAccountRecordType().Id LIMIT 1];
System.debug('tasks size : ' + tasks.size());
Task[] tasks2 = [SELECT Id FROM ...
1
vote
1
answer
703
views
Issue with spread operator in LWC Salesforce for Sandbox Environment
In the lookup component when am searching the name with (onchangesearchinput) by entering the value, here calling a method from server side class the data is returning from backend but it is not ...
2
votes
1
answer
248
views
Cannot compile when targeting Android 12
Steps:
Setup an Android project with targetSdkVersion 31
In the same project, include version v7.4.1 of MarketingCloud: implementation "com.salesforce.marketingcloud:marketingcloudsdk:7.4.1"...
3
votes
1
answer
2k
views
Approval process won't trigger record-triggered flow
I want to follow up on my previous question. Because of some version issues with process builder, we wanted to move some apex action invocation to record-triggered flow with scheduled path. The ...
2
votes
0
answers
360
views
Lightning Datatable does not properly resize when inside grid (flexbox)
Normally the width of a <lightning-datatable> changes dynamically as you change the width of the browser.
However, When I put a <lightning-datatable> inside a grid (<div class="...
0
votes
1
answer
2k
views
JSON deserializeUntyped causing exception for a JSON data string
JSON deserializeUntyped is causing trouble and I could not understand why it would convert a Array of data to something that is neither an array nor a similar string?
To reproduce I am executing this ...
0
votes
1
answer
572
views
When I hit f12 in Lightning exp salesforce switches to Salesforce classic
Whenever I am trying to open the console directly or go to Inspect mode from Lightning Experience, Salesforce switches to Classic and then I am not able to debug.
I keep refreshing and then it ...
1
vote
1
answer
255
views
SFDX force:limits:api:display Shows Incorrect / Misleading Values
Today 2021-02-20, 14:30 local time, force:limits:api:display shows:
Package2VersionCreates 6 6
Package2VersionCreatesWithoutValidation 500 500
At the same ...
2
votes
1
answer
496
views
force:package:version:create fails unless --skipvalidation is specified - How Can I Fix The Problem
I am trying to produce an unlocked package from my VS Code project. The code and components deploy without complaint to my Dev Org (SFDX: Deploy Source to Org) and work according to expectations.
I ...
7
votes
1
answer
1k
views
How do we deploy an Experience Bundle to a scratch org properly?
I'm finding it almost impossible to create a Scratch Org and push all code along with an Experience Bundle (Community).
The Community has custom pages that reference Custom Objects in list component.
...
3
votes
1
answer
793
views
"Rename Tabs and Labels": German Translation overrides Object Definition
I can't find any similar issue online and it is making me crazy.
I need to have translations for a Custom Object tab in English and German.
I first adjust the Name for English (let's say I just call ...
0
votes
1
answer
514
views
Keep getting multiple "Required field is missing: valueTranslation" errors while trying to generate a package version with translations
When using the package:version:create command, I'm getting the following errors:
ERROR running force:package:version:create: 8-pt_BR: Required field is missing: valueTranslation,1-pt_BR: Required ...
2
votes
1
answer
536
views
Timeout when polling for Unlocked Package Version Create report
I have an Unlocked Package with many dependencies. Its creating takes more than 30 minutes.
My Backend code is polling every 5 seconds using
sfdx force:package:version:create:report --json --...
2
votes
2
answers
1k
views
Standard New button Visualforce Override shows blank page in Lightning Experience after Winter '21
We've been experiencing an issue just after Winter '21 that on objects that have been overridden by a Visualforce Page for New button, the New action only works first time, if users instead of ...
1
vote
0
answers
438
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 ...
0
votes
1
answer
824
views
The standard account "change owner" option doesn't trigger opportunity trigger
The standard "change owner" on account record has surprising behavior.
Salesforce Standard Change Owner Behavior
When changing account owner, opportunities owned by the current owner are ...
7
votes
2
answers
917
views
Is this expected behavior for String.containsOnly()?
Here is some code to illustrate the problem.
String str1 = '';
System.debug(str1.containsOnly('W'));
I would expect false as the result but surprisingly the result was true. I don't understand why ...
1
vote
1
answer
2k
views
LWC Data value too large: Error: Unable to save any logic to the component
Got error when saving / deploying the code to the Org.
The error message:
Source: data value too large:
import { LightningElement, track, api, wire } from 'lwc'
import getAllApprovedQuotes from "...
6
votes
3
answers
2k
views
Cusom Lwc in Flow not returning value, summer 20
I am using custom lwc to capture data about selected checkboxes inside flow. It was working properly until summer 20 release. Now it does not return any value.
@api
get result() {
return this....
3
votes
0
answers
139
views
LWC-base-components-recipes issue, Summer 20' release, assert.js
I am using textarea base component, this had to go with lots of other dependencies to my org.
Unfortunately after summer 20' release I had to comment out code in assert.js today:
export function ...
0
votes
1
answer
389
views
SFMC Journey Builder Custom Activity Failed event without any error message
I created a Custom Activity for SFMC Journey Builder and every time a contact reaches it a "Failed" event is logged and there isn't any more information than that.
I can see the execute call being ...
7
votes
1
answer
1k
views
SOQL bug for null required-lookup fields?
It appears that querying null values for required lookup fields always returns 0 results, even if some records have no value in the required field (e.g. records created before the field was made ...
0
votes
1
answer
275
views
Internal Server Error when building emails
Since Monday, I am having an issue that is affecting the email creation in Email Studio.
.
It happens in the header image of the template and it breaks the layout of the email. Even when trying ...
0
votes
1
answer
1k
views
Images are not displayed after sending the email
I built an email in Marketing Cloud where some pictures have been attached directly from Content Builder (drag-and-drop).
When I send the email, the image is not displayed in most of the different ...
0
votes
2
answers
567
views
Preheader text box not displayed in the Content tab of the email
I am having a really weird issue in Email Studio.
When I open an email, on the first screen I can see the subject and the preheader like in the image below.
But, when I click in Edit Content, I don'...
0
votes
1
answer
516
views
Email content displayed twice after sending
From time to time, some emails are displaying content like the header or the footer twice after sending it. In the preview, everything looks good.
Is there any reason behind? We are using an HTML ...
3
votes
0
answers
184
views
<apex:outputField> on URL-field renders Popup - blocked in Chrome
In a Visualforce page (embedded into Page Layout sections) I reference a custom object with an URL field using:
<apex:outputField value="{!record.SupportLink__c}"/>
When clicking the link ...
5
votes
1
answer
2k
views
Spring 20 - Validation rules that use "$UserRole.DeveloperName" are triggering when they should not
After the Spring 20 release my validation rules that make use of the field "$UserRole.DeveloperName" are triggering when they should not.
I'm currently trying to create a case from a community (with ...
4
votes
0
answers
449
views
Can we work around Owner related fields not being retrievable via SOQL in apex tests?
Background: Recently I wrote a very simple Batch to run on the 1st of every month. Its purpose is to query for any Project__c records that aren't Complete, and create a related "Carry-Over" record in ...
1
vote
0
answers
183
views
Visualforce Lookup field search icon not working on Salesforce Mobile App (Android)
I've a Visualforce Page overriding New & Edit standard buttons. On Salesforce Mobile App (Android) only, the lookup field search icon does not work. It throws users to login page and when they ...
1
vote
1
answer
784
views
Filtered Data Extension bug
I have an issue when applying filters in a Data Extension for a few days ago. Basically it doesn't work.
For example, if I did a filter from a Data Extension adding the criteria 'Email is not null' ...
0
votes
0
answers
387
views
Process Builder recursion issue: repeats actions 6 times
I'll skip the overall context and just describe the current issue at hand.
I have a Process Builder on Object X, with Recursion turned ON. We need recursion turned on for all our automation to work ...
1
vote
2
answers
656
views
SOQL with 'like' is not returning data records correctly
I've a query executed using database.query() method. The query looks like this:
Select Id, Name from CustomObj__c WHERE Name like '%admin, ray%' ORDER BY Name
I can execute this query directly in '...