Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 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
  • 5,950
1 vote
0 answers
1k views

Unable to tunnel through proxy. Proxy returns "HTTP/1.1 500 Internal Server Error

I am making a callout from my PartnerBusinessOrg to one of it's underlying Orgs. Each Org has a connected app, originating from a templating org within them. When I am trying to make a callout to the ...
RPlantinga_MySolution's user avatar
1 vote
1 answer
626 views

Pass Object or Object Array from LWC to Screen Flow

I'm trying to send a variable from lwc to a screen flow. But when this variable is a Object or Array of Objects, the flow doesn't recognize and prints a empty value. I don't know what i'm doing wrong ...
Felipe Belchior's user avatar
0 votes
1 answer
111 views

Running and filtering reports in Apex

I just spun up a brand new Dev Org (00DHp000002yxab), and copy-pasted code from this Salesforce support article: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/...
Charles Howard's user avatar
7 votes
1 answer
627 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 ...
Bartosz Śliwiński's user avatar
1 vote
0 answers
90 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 ...
Amit Jain's user avatar
  • 827
0 votes
1 answer
92 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 ...
Jakub Mužík's user avatar
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?
Windy W's user avatar
1 vote
1 answer
33 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. ...
castithan21's user avatar
2 votes
2 answers
608 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 ...
Kai Amundsen's user avatar
0 votes
0 answers
739 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 ...
user3316299's user avatar
2 votes
0 answers
122 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')] ...
elkaco's user avatar
  • 78
0 votes
1 answer
40 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 ...
Alexis's user avatar
  • 129
0 votes
0 answers
39 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 ...
thinker's user avatar
  • 1,440
1 vote
1 answer
820 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: ...
Emmanuel BRUNO's user avatar
0 votes
0 answers
90 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<...
Sam Becker's user avatar
5 votes
2 answers
631 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 ...
Robert Sösemann's user avatar
3 votes
1 answer
7k 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 ...
itsmebasti's user avatar
  • 6,457
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'; ...
Andrea Buono's user avatar
3 votes
1 answer
609 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 ...
willeg's user avatar
  • 303
3 votes
2 answers
1k 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; ...
ytiq's user avatar
  • 4,545
7 votes
2 answers
571 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 ...
Bithermal's user avatar
1 vote
1 answer
810 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 ...
Prathamesh 's user avatar
2 votes
1 answer
269 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"...
Thierry Roy's user avatar
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 ...
Damecek's user avatar
  • 1,948
2 votes
0 answers
499 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="...
jbyrd's user avatar
  • 641
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 ...
VarunC's user avatar
  • 5,950
1 vote
1 answer
1k 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 ...
devoid_of_chill's user avatar
1 vote
1 answer
319 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 ...
willeg's user avatar
  • 303
2 votes
1 answer
614 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 ...
willeg's user avatar
  • 303
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. ...
VarunC's user avatar
  • 5,950
3 votes
1 answer
1k 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 ...
Daniel L's user avatar
0 votes
1 answer
633 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 ...
Renato Oliveira's user avatar
2 votes
1 answer
699 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 --...
Robert Sösemann's user avatar
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 ...
VarunC's user avatar
  • 5,950
1 vote
0 answers
514 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,461
7 votes
2 answers
1k 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 ...
user73893's user avatar
  • 305
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 "...
Nirmal Christopher's user avatar
6 votes
3 answers
2k views

Custom 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....
Przemek's user avatar
  • 63
3 votes
0 answers
148 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 ...
Patryk's user avatar
  • 31
0 votes
1 answer
430 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 ...
Seb's user avatar
  • 61
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 ...
Brent Bowers's user avatar
  • 3,144
0 votes
1 answer
325 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 ...
fromero's user avatar
  • 1,041
0 votes
1 answer
2k 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 ...
fromero's user avatar
  • 1,041
0 votes
2 answers
678 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'...
fromero's user avatar
  • 1,041
0 votes
1 answer
646 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 ...
fromero's user avatar
  • 1,041
3 votes
0 answers
190 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 ...
mluecke's user avatar
  • 191
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 ...
Giulia Mascagni's user avatar
4 votes
0 answers
502 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 ...
Morgan Marchese's user avatar
1 vote
0 answers
190 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 ...
VarunC's user avatar
  • 5,950