Questions tagged [bug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
61 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 ...
1
vote
2answers
107 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
2answers
234 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
1answer
171 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
1answer
118 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"...
1
vote
2answers
343 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 ...
0
votes
0answers
54 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
1answer
61 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
1answer
92 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 ...
0
votes
1answer
57 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
1answer
115 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 ...
4
votes
0answers
408 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. ...
1
vote
0answers
169 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
1answer
134 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
1answer
157 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
2answers
443 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
0answers
58 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
1answer
181 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
2answers
599 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
1answer
588 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
3answers
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....
3
votes
0answers
114 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
1answer
174 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 ...
6
votes
1answer
610 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
1answer
125 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
1answer
486 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
2answers
337 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
1answer
215 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
0answers
123 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
1answer
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 ...
4
votes
0answers
277 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
0answers
143 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
1answer
308 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
0answers
333 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
2answers
232 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 '...
0
votes
0answers
113 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 ...
4
votes
1answer
322 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 ...
4
votes
2answers
376 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>: ...
0
votes
1answer
2k 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 ...
0
votes
2answers
482 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 ...
6
votes
1answer
630 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 ...
1
vote
2answers
1k 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 ...
3
votes
2answers
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 ...
4
votes
1answer
998 views

SAML Assertion Validator crashing on encrypted assertion

I'm adding support for encrypted assertions to my SAML 2 IDP, and I'm trying to validate them against a number of SPs we work with. Everything looks good at https://www.samltool.com/online_tools.php (...
3
votes
0answers
81 views

Why I can't login to Lightning Experience? (only Classic is working)

As of today I can no longer login to newly created DE Orgs spun with the Environment Hub. Login works sometimes directly after creation for some minutes or does not work at all. It just shows an ...
2
votes
1answer
214 views

Bug? String.split chopping off empty trailing value

I have found this strange behavior by trying to write a unit test against a CSV Generator. It seems that if I try to split a string by comma, and there is an empty trailing cell, these values are ...
5
votes
1answer
2k views

Stop SF Lightning from trying to open up Set Up Content in a new tab

When I am in Set Up and attempt to open something, like User Profiles for example, I always get this modal that asks We'd like to open the Salesforce page ... in a new tab and then when you allow it, ...
2
votes
1answer
878 views

Apex Batch Jobs stop executing unexpectedly

Hi so we have a couple of Apex batch jobs that run continuously in our org. One runs every five minutes and one runs every fifteen minutes. In the batch's finish methods, the two reschedule ...
2
votes
1answer
152 views

Adding days to the Date portion of DateTime throws off the Time portion

So I'm having an issue in Apex with the Date's addDays function. It seems that adding more than a certain amount of days throws off the time by one hour. It all seems so arbitrary so I'm wondering ...
0
votes
1answer
212 views

Salesforce Lightnining unable to see full values in UI Picklist

In Salesforce Lightning Experience, whenever I have a 'Classic view' picklist, when I click on the picklist to choose a value, I am unable to view the select options: If i minimize my browser window ...