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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [bug]

The tag has no usage guidance.

1
vote
0answers
13 views

Salesforce one app potential bug when switching between accounts, contacts, leads and opportunities

I think i might be experiencing a bug in the ios salesforce one app. I have an iframe that loads into a lightning component when you Press the "New" button on the Contacts, Accounts, Opportunities, ...
3
votes
1answer
75 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 ...
1
vote
0answers
19 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
28 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
97 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
14 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
32 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
49 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
86 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 ...
10
votes
4answers
213 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
40 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
59 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
40 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
80 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
34 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
221 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
452 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
327 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
436 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
131 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 ...
11
votes
3answers
3k 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
427 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
314 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
128 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
40 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
295 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
220 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
117 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
199 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
204 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
142 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
117 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
198 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
133 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
687 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
424 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
182 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
319 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
179 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
224 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
118 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
193 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
311 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
846 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
2k 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
698 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: ...