Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
65 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
189 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
28 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
29 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
31 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. ...
4
votes
0answers
58 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
30 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
151 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
315 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 ...
2
votes
1answer
260 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
343 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
81 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 ...
10
votes
3answers
2k 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
310 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
303 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
107 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
39 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 ...
0
votes
0answers
71 views

How to fix SLDS Select Dropdown control's extra height in Firefox?

I've found out that the SLDS dropdown shows extra height in dropdown fields in Visualforce page in Firefox. Can anyone suggest a fix for this? This code below can reproduce the issue: <apex:page&...
4
votes
0answers
258 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
196 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
921 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
102 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
172 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'...
10
votes
0answers
181 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
120 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
116 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
181 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 = ...
0
votes
0answers
159 views

Lightning new action override shows standard form

I am trying to overwrite standard new button with custom lightning component. The component tag is configured like below and is showing up as available to override with it <aura:component ...
2
votes
1answer
120 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
644 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
378 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
171 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
49 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
292 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
178 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
207 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
117 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 ...
4
votes
1answer
189 views

LockerService with Lightning Components & d3 transformation issue

I'm experiencing issues with d3 v4.4.0 and v4.7.3 when I'm trying to redraw some chart. There is a problem with g tag decomposition. When I try to redraw some element: rect.transition() ....
2
votes
0answers
279 views

Global Action Icon not showing in popover panel header

I've a Global Lightning Component Action and put into Global Publisher Layout. It opens in panel like standard quick actions such as New Task or Log a Call do, but the custom Global Action does not ...
7
votes
2answers
798 views

Object clone does not work as expected

I have an object (not SObject!) with a member of type List, when I clone the object and add something to the list, the original record will also be modified: public class ThingToClone { public ...
3
votes
4answers
1k views

Lightning component regex doesn't work

I have the following statements in my Lightning component's Javascript controller: console.log(/.*/.test("asd")); // prints "false" console.log(/(.*)/.test("asd")); // prints "true" When I run the ...
0
votes
1answer
647 views

The default content block Button styling issues

Very strange - I added only top padding to block styling: And the output HTML looks like this: <table style="margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;;padding-top: ...
2
votes
0answers
331 views

System error occurring when we Edit a Record in Lightning App with Console Navigation?

I'm getting multiple system error dialog when trying to execute System Events in Lightning Components (in Console Navigation app). I've tried a link action and action button, and both return errors. ...
1
vote
1answer
177 views

Bug in Lightning Button Base Component with `afterRender` in Spring 17

Having an afterRender in a Lightning Component makes the Icon not show in Lightning Base Component <lightning:button /> Here is a quick Test App: TestApp.app <aura:application extends="...
5
votes
1answer
5k views

How to force open a new Tab/Window in Lightning Experience from anchor links?

I have a visualforce page that has links in it, but those links are specifically set to target="_blank", and they open new tab in Aloha interface, but in Lightning Experience they open the links in ...
1
vote
1answer
2k views

Where is the Spring 17 “Approval Requests” tab?

I am trying to see the "Approval Requests" tab and list that is supposed to come in the Spring 17 release, but I cannot find it to add it to my app. On my custom app - I am searching for the "...
39
votes
1answer
2k views

Lightning Experience Bug: Picklist Color Values for Lightning Dashboards not working (UPDATE: fixed in Spring 18!)

Update This issue I've originally found in Winter 17 seems not fixed in Winter 18 release. However the issue does not affect Report Charts based on Opportunity.StageName - but on Custom Objects it's ...
5
votes
2answers
547 views

Getting FIELD_INTEGRITY_EXCEPTION with double quotes in regex

As shown in the image, when trying to create a regular expression in a lightning component controller, the save from the developer console fails because of an error parsing the data.