Questions tagged [bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 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 ...
user avatar
  • 1,268
1 vote
1 answer
35 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: ...
user avatar
0 votes
0 answers
41 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<...
user avatar
1 vote
1 answer
140 views

2GP Managed Packages don't notify 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 ...
user avatar
2 votes
1 answer
143 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 ...
user avatar
  • 6,130
0 votes
2 answers
202 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'; ...
user avatar
0 votes
0 answers
46 views

User Interface API returning original field label instead of overridden field label from Translation Workbench

We've overridden a Managed Package field's label (API Name: appnamespace__Units__c, label = Units) using Translation Workbench's Override option to Quantity. The updated field label shows up fine in a ...
user avatar
  • 5,606
3 votes
1 answer
156 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 ...
user avatar
  • 163
1 vote
2 answers
322 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; ...
user avatar
  • 4,107
7 votes
2 answers
267 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 ...
user avatar
1 vote
1 answer
398 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 ...
user avatar
2 votes
1 answer
158 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"...
user avatar
3 votes
2 answers
866 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 ...
user avatar
  • 1,532
1 vote
0 answers
94 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="...
user avatar
  • 471
0 votes
1 answer
216 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 ...
user avatar
  • 5,606
0 votes
1 answer
198 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 ...
user avatar
0 votes
1 answer
94 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 ...
user avatar
  • 163
2 votes
1 answer
201 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 ...
user avatar
  • 163
4 votes
0 answers
571 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. ...
user avatar
  • 5,606
2 votes
1 answer
302 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 ...
user avatar
0 votes
1 answer
219 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 ...
user avatar
2 votes
1 answer
240 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 --...
user avatar
2 votes
2 answers
638 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 ...
user avatar
  • 5,606
1 vote
0 answers
106 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 ...
user avatar
  • 3,179
0 votes
1 answer
348 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 ...
user avatar
7 votes
2 answers
678 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 ...
user avatar
  • 205
1 vote
1 answer
847 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 "...
user avatar
6 votes
3 answers
1k 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....
user avatar
  • 63
3 votes
0 answers
119 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 ...
user avatar
  • 31
0 votes
1 answer
245 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 ...
user avatar
  • 41
6 votes
1 answer
756 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 ...
user avatar
0 votes
1 answer
157 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 ...
user avatar
  • 1,019
0 votes
1 answer
658 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 ...
user avatar
  • 1,019
0 votes
2 answers
381 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'...
user avatar
  • 1,019
0 votes
1 answer
275 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 ...
user avatar
  • 1,019
3 votes
0 answers
138 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 ...
user avatar
  • 191
5 votes
1 answer
1k 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 ...
user avatar
4 votes
0 answers
331 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 ...
user avatar
1 vote
0 answers
158 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 ...
user avatar
  • 5,606
1 vote
1 answer
439 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' ...
user avatar
  • 1,019
0 votes
0 answers
355 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 ...
user avatar
  • 385
1 vote
2 answers
320 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 '...
user avatar
  • 5,606
0 votes
0 answers
158 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 ...
user avatar
4 votes
1 answer
388 views

How to push source to Scratch org if project code exceeds 50mb limit?

I have a managed application which I'm now trying to move to DX platform of development, but I'm getting an error of exceeding maximum storage: Maximum size of request reached. Maximum size of request ...
user avatar
  • 5,606
4 votes
2 answers
420 views

Scratch Org: DUPLICATE_VALUE, duplicate value found: <unknown> duplicates value on record with id: <unknown>: []

I and my whole team encounter this error while inserting some data into a new Scratch Org. DUPLICATE_VALUE, duplicate value found: <unknown> duplicates value on record with id: <unknown>: ...
user avatar
  • 320
0 votes
1 answer
3k views

Can't pre-populate datetime value in <lightning-input-field>, Summer '19 change/bug?

This issue has just appeared since Summer '19 rollout. It was working correctly before. I have an LWC with a <lightning-record-edit-form> for creating a new appointment record (so no record-id ...
user avatar
0 votes
2 answers
512 views

lightning-input-address embedded in VF page. Address lookup not working

I have a use case to embed a lightning web component in a VF Page (in Classic) which includes a lightning-input-address component. The component includes the standard address lookup input (which ...
user avatar
  • 1,049
6 votes
1 answer
861 views

lightning-record-form failing when User doesn't have access to a field

There seems to be an issue with lightning-record-form in Summer'19. According to documentation it's supposed to take care of field-level security and it used to (not showing a field to which User ...
user avatar
1 vote
2 answers
2k views

Before Trigger is not picking up BillingCountry on the Account Object

My class is suppose to pick up The Billing Country and Billing Postal Code and populate the state based on those two fields, however when debugging the before trigger It doesn't pick up the Billing ...
user avatar
3 votes
2 answers
5k views

LWC css is only partially applied [duplicate]

Within this component our css is only applied to the div within the card but not to any div in the <header> (title). Is there a feasible reason or is it just a bug? (In our real problem we are ...
user avatar
  • 203