Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bug]

The tag has no usage guidance.

0
votes
2answers
13 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
55 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
44 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
84 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
70 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
68 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
94 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 ...
3
votes
0answers
65 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, ...
1
vote
1answer
51 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
99 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
0answers
18 views

Salesforce Set Up continually attempts to open subviews in new tab

I am working in Salesforce Lightning Experience, and about 50% of the time, when I attempt to open something in Set Up, Salesforce tries to open it in a new tab. For example, if I am in the Object ...
0
votes
1answer
54 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 ...
0
votes
1answer
86 views

Repeat checkbox not working on Global Actions quick action layout for event

When on the calendar tab or event object directly checking the repeat checkbox expands another menu allowing the user to choose the repeat interval. However, when creating an event from an associated ...
0
votes
1answer
90 views

Did salesforce changed sender profile implementation? Bugs for me

Today a message of salesforce popped up: Unfortunately it popped up after we had a journey activity that had send emails. We changed nothing at our sender profiles (that work with ampscript) or the ...
9
votes
4answers
243 views

Is MIXED_DML_OPERATION in unit tests broken?

We have a nightly integration that runs all tests and reports any errors against production, currently on Winter '19. Everything was fine until January 14th, 2019, when 13 previously passing tests ...
4
votes
0answers
45 views

`sfdx force:data:tree:import` FAILS when field API name has numbers in it

I'm posting this issue again as it is not resolved yet. I don't understand why it's not part of the known issues of Salesforce DX. This has been reported here 5 months ago, with a temporary fix. The ...
1
vote
1answer
143 views

Custom Button URLFOR not assigning proper record ID when clicked

I am trying to implement a custom button on a record detail page that does the following: redirect user to custom lightning component with querystring: ?projectId=... I am using the following ...
2
votes
1answer
45 views

Dynamic sObject Lookup field throws “SObject row does not allow errors” if lookup is entered record name that do not exist in org

Feels like I'm not having a good day at all with platform :-) ... another day and another issue with platform dynamic sObjects :( So I'm trying to create an sObject record dynamically from a VF page. ...
5
votes
0answers
94 views

New Salesforce BUG Winter '19: Some Report Charts do not render on Homepage anymore

We have created some reports using cumulative line charts. They did run and render fine in Summer '18. Now in Winter '19 the Report Charts (Standard Salesforce Lightning Components) are blank. It ...
1
vote
1answer
42 views

Unable to disable a Visualforce Override for standard buttons

I have installed an HR managed package, but I don't want to use their Visualforce pages on some objects -- I would prefer to use the standard Salesforce record detail page. I have edited the standard ...
0
votes
1answer
287 views

How can I refresh the cache for static resources in Communities?

I have updated a static resource with a new file and kept the reference (using url not $Resource) the same. The updated resource was not loaded, even when I left it over the weekend. Even deleting the ...
2
votes
1answer
574 views

Error: Can't change quote owner. Enable quotes without parent opportunities

I am desperately looking for some answers to this considering Salesforce Support is non-responsive at the moment and this is time-sensitive. We are currently launching/transferring a majority of our ...
3
votes
1answer
392 views

Are Lookup Filters supported in Custom Lightning Components?

So, there are two ways to get Salesorce Standard Lookup filed in Lightning components: force:inputField and lightning:inputField. However, no matter what I do, I can not get lookup filters to work. ...
5
votes
2answers
519 views

Add Error method with escape = false doesn't work in lightning Experience why?

I have added a validation in Account Trigger to prevent the deletion of Account record if the status is other than Archived for(Account objAccount: lstOldAccount){ if(objAccount.Status__c != '...
2
votes
1answer
188 views

User able to create Account record, even though its profile has no 'create' Account object permission

I have the user user1 assigned to the profile profileA. Profile profileA does not have create object permission on Account. Inside text context, with Sytem.runas() method, I am able to make user1 ...
14
votes
3answers
4k views

Lightning navigation does not refresh the state of components, how to fix a bug

I am using lightning:navigation component in our project, and it doesnt refresh the state of component, when the url changes. To be clear, lightning framework just keeps the state of component/page ...
1
vote
1answer
497 views

Unable to position LEFT when showing popover using lightning:overlayLibrary

I'm trying to generate a popover but it seems the position is always right. I tried to make the position go left using nubbin class slds-nubbin_right-top, but with this the nubbin arrowhead shows up ...
3
votes
0answers
333 views

Are lightning:recordEditForm and lightning:inputField a bit buggy in Spring'18?

I'm trying to get my hands on lightning:recordEditForm and lightning:inputField Im using it on Order Line Item like this <lightning:recordEditForm recordId="{!item.Id}" objectApiName="OrderItem" &...
1
vote
0answers
153 views

inputCurrency format changes on focus

I have an inputCurrency field defined like this: <ui:inputCurrency aura:id="amount" class="slds-p-top_none" value="{!s.Amount__c}"/> This input is inside a component that lives inside an ...
1
vote
0answers
41 views

Lookup Field Intermittent Results

We have a lookup field that will sometimes return results and sometimes will not return results, and since it is a required field, users have to exit out of the form and return. I am wondering if ...
4
votes
0answers
336 views

How can we fix the Lightning Component ui:inputDate DatePicker position?

I'm in need of implementing a lightning component that includes ui:inputDate component with displayDatePicker=true. The component is mainly only for sidebar purposes in Lightning Page. But when I ...
1
vote
0answers
15 views

PostInstall script disappearing when building package

After specifying a PostInstallScript on a package, then building it, the field disappears while it's processing: It seems that it's not functionally an issue, as when the package is built it's still ...
3
votes
1answer
240 views

Sfdx export error on Windows 10

I was going through the App Development with Salesforce DX trailhead and everything was going smoothly until I tried to export the sample data with the following command: sfdx force:data:tree:export -...
8
votes
1answer
1k views

lightning:radioGroup is allowing multi-select

I have a lightning:radioGroup that shows record types for an object: <aura:attribute name="recordTypes" type="String[]"/> <aura:attribute name="recordTypeValue" type="String"/> <...
0
votes
1answer
1k views

lightning:datatable actions menu is hidden

The actions menu that is supposed to show when you click on the downward arrow on the right-end of a row is not showing. My component is dead simple: there is a lightning:datatable inside it ...
2
votes
2answers
143 views

JSON serialize issue inside a try/catch block in an Apex in a web service

So I have the following code: @HttpPost global static void execute(){ String json = RestContext.request.requestBody.toString(); JSON.deserialize(json, List<DTO>.class); } but when ...
6
votes
1answer
221 views

Test.setCreatedDate not working in SOQL Query with condition date set in future

I have an issue with Querying a record in a unit test with a custom set createdDate using the method Test.setCreatedDate(); static testMethod void test() { Account a = new Account(name='myAccount'...
11
votes
0answers
224 views

toLabel in @AuraEnabled Apex Lightning controller

The SOQL toLabel function doesn't work in my @AuraEnabled method when called from a Lightning component. UserInfo.getLanguage returns "fi" (for Finnish) but the Record Type Name field that's supposed ...
3
votes
0answers
160 views

Has anyone else seen the issue of Lightning Component, if updated to version 41.0, changes the Component Label by appending namespace

No COMPONENT named markup://namespace:namespace_MyComponent found This error pop up after I updated my Lightning Component to API version 41.0, and the error comes when the component has a dedicated ...
2
votes
2answers
120 views

Winter18 override sizes on compound forms

With Winter18, elements sizes in compound forms are overridden to something like slds-size--1-of-1, despite the slds-size specified. For example, this code from the SLDS Documentation used to work, ...
5
votes
1answer
217 views

Bug with parser in lightning bundle definition

If you are trying to define a regex in a helper for a lightning component for example and you try to do something like this simple regex to match a single /: var myRegex = /\//; or var myRegex = ...
2
votes
1answer
153 views

Why does describeTabs() function call 'All Tabs' app only returns 1 tab in it?

I'm trying to return icons for all Tabs in the Org. The Apex code I'm using is below: // Get tab set describes for each app List<Schema.DescribeTabSetResult> tabSetDesc = Schema.describeTabs(); ...
1
vote
2answers
714 views

Winter 18 Error with reports and dashboards after enabling Lightning Report Builder

I have tried to enable the Winter 18 new Lightning Report Builder. So I have added a permission set to my user that has Report Builder (Lightning Experience) permission. After doing that - I cannot ...
1
vote
1answer
490 views

Error when calling Database.insertAsync (Status Code “ASYNC_OPERATION_LOCATOR”)

I am experiencing some bizarre behaviour when trying to insert external objects. The following statement results in an error: Object__x o = new Object__x(Name__c='Test'); Database.SaveResult[] sr = ...
1
vote
1answer
190 views

Currency field displayed with different currency depending on language parameter in Visualforce page!

I recently got a problem when trying to use language parameter in my Visualforce pages. In a single currency org (French EUR, multi-currency feature not activated), if I set the language parameter to '...
4
votes
1answer
51 views

Why does this() in an if statement not throw compiler error

Using 'this();' inside an if statement in a constructor does not throw a compiler error. It should throw 'Call to 'this()' must be the first statement in a constructor'; If it is allowed then it ...
1
vote
0answers
356 views

Unable to pass Custom Parameters to a Visualforce Page via URL button in Lightning Experience

I've a Custom Object whose NEW and EDIT Standard Buttons/Links have been overridden with a Visualforce Page. This Custom Object also has couple of Record Types on it. I've added a Custom URL Button ...
8
votes
1answer
183 views

Unknown error in Salesforce Production Org. Is this a bug in Salesforce?

Suddenly this error came and displayed on the left panel. Why is this happening in Production org? Is this a Salesforce bug? Somebody in the Salesforce testing their usecases? Any thoughts?
0
votes
0answers
226 views

developer console browser freeze

I have a quite long apex class almost 4000 LOC. I do development on eclipse and deploy, but if I open this in developer console and try to edit few thing, scroll up and down a little bit, the ...
0
votes
0answers
120 views

Dependent picklist values not generating in visualforce

For past couple weeks, with latest version of Chrome, I've been getting Browser Console errors for picklist4.js library in Salesforce. The error happens to occur randomly, and not always, and the only ...