MscrmTools / MscrmTools.PortalRecordsMover

Export/Import Dynamics 365 portal records
GNU General Public License v3.0
18 stars 13 forks source link

getting error after updating this morning #55

Closed jpetersenODOE closed 2 years ago

jpetersenODOE commented 2 years ago

Screenshot_1 i just did an update this morning and every time I try to load records I get the attached error. I am working on a big migration and could really use your tool. Any help would be appreciated.

albertoaven commented 2 years ago

The issue is the line 132 of the file "RecordsListerControl.cs" in the operation in the "AttributeTypeCode.PartyList" case.

 switch (amd.AttributeType.Value)
            {
                case AttributeTypeCode.PartyList:
                    return string.Join(", ", record.GetAttributeValue<EntityCollection>(value).Entities.Select(e => e.GetAttributeValue<EntityReference>("partyid")?.Name).ToArray());

I have reverted locally the last update and all back to work as before.

MscrmTools commented 2 years ago

Ok, I will double check what is wrong with this line and fix it

MscrmTools commented 2 years ago

This should be fixed now.

jpetersenODOE commented 2 years ago

Yes thank you it started working Friday afternoon which was a big relief.

From: MscrmTools @.> Sent: Saturday, May 21, 2022 2:12 AM To: MscrmTools/MscrmTools.PortalRecordsMover @.> Cc: PETERSEN Jeremy * ODOE @.>; Author @.> Subject: Re: [MscrmTools/MscrmTools.PortalRecordsMover] getting error after updating this morning (Issue #55)

This should be fixed now.

- Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMscrmTools%2FMscrmTools.PortalRecordsMover%2Fissues%2F55%23issuecomment-1133585365&data=05%7C01%7CJeremy.PETERSEN%40energy.oregon.gov%7C90e4a35e44924373810708da3b09fd63%7Caa3f6932fa7c47b4a0cea598cad161cf%7C0%7C0%7C637887211337098849%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BGKNv0NNvweDnwZvJzzaDQDUr9w3CKx3N1RPYhmIAmc%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZIJMSILV4IBBMWYGJYJ54DVLCSGDANCNFSM5WQIVLMA&data=05%7C01%7CJeremy.PETERSEN%40energy.oregon.gov%7C90e4a35e44924373810708da3b09fd63%7Caa3f6932fa7c47b4a0cea598cad161cf%7C0%7C0%7C637887211337255504%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=25DUfcUSHGBHoBsrzz9y1UuczJ4iA4NvTtpvSSAaFIU%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>