[BUG] LookupItem "Loading..." for customerid
See original GitHub issueEasyRepro Version
- Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
- Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
- Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
- Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online
UCI or Classic Web
- UCI (XrmApp)
- Classic Web (XrmBrowser)
Online or On Premise
- Online
- On Premise
Browser
- Chrome
- Firefox
- IE
- Edge
While running the default CreateCaseUCI, at the step of setting the customerid, the browser stays at “Loading…” until it times out, instead of displaying the record. If I manually delete the last char and write it again, it finds the record and the test scenario ends correctly. I suspect it’s related to the value being typed too fast by selenium.
Here is what it looks like:
Code:
LookupItem customer = new LookupItem { Name = "customerid", Value = "aaron aina", Index = 0}; xrmApp.Entity.SetValue(customer);
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Pop-up Reminders
I have severally pop-ups reminders that notify the users of the field that have no data. The field are so many that need...
Read more >How to patch a SharePoint Lookup Column
Solved: I can update all other SharPoint fields using the Patch function, but I am unsucessful in udpating lookup columns using a button....
Read more >Assign lookup result into array with better performance
I would like to save it into a variable array of int, the only method I found is to loop the json value...
Read more >How to have column lookup latest value in table 2
Solved: I've updated my original post to better reflect the problem. I have two tables, Table 1 that tracks changes in a customer's...
Read more >SalesPad Desktop Release Notes (2017-2015)
FIXED: Inventory Lookup: Tabs will now properly load if the Alternate Items ... UPDATED: Active Support: Error messages related to sales line items...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks.
I confirm it’s in the test UCITestCreateCase.
I let you know if I find a fix. I had this selenium speed idea because it can be reproduced also in CRM without using EasyRepro. Just copy/past a name in the LookUp field and it will do the same, but if you type it by hand, at a human pace, it works.
Hi,
Also facing this issue, running in Visual Studio 2019. Similar to others, the lookup appears but it just isn’t selected. An exception is generated:
Managed Debugging Assistant 'ContextSwitchDeadlock' Message=Managed Debugging Assistant 'ContextSwitchDeadlock' : 'The CLR has been unable to transition from COM context 0x6e19a8 to COM context 0x6e1a60 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.'
Code being run was:
xrmApp.Entity.ClearValue(new LookupItem { Name = "customerid" }); xrmApp.Entity.SetValue(new LookupItem { Name = "customerid", Value = "Jas Limited", Index = 0 });