Open wingzeroaa opened 4 years ago
Hi Zhenyu,
Thanks for raising this.
I believe this could be fixed by calling ctx.GetRecordUniqueId before checking the record exists in this fake message, isn't it @BetimBeja ?
This is how that call looks like in the RetrieveRequest for example:
If you want to submit a pull request by yourself then you're more than welcome, as right now we're focusing into releasing 2.x before we then bring all these PRs into v1.x and v2.x :)
Hi @jordimontana82
Thank you very much for quick reply. Yes, your new codes are good. That is what I want.
Let me know when this change has been merged into latest version. Then I can get latest from NuGet.
Regards, Zhenyu
Hi @wingzeroaa , I think @jordimontana82 was suggesting a possible solution so you could issue the PR which he will review 😀 If you do Issue a PR, please provide at least one Unit Test for this too. Betim.
Yes @wingzeroaa , what I meant to say is that merging PRs into master is on hold until v2.x is released.... in the meantime, you could try to fork the repo and apply the patch to your own fork, build it, and reference that build output in the meantime....
Thanks @BetimBeja
Hi @BetimBeja I see, I will have a try later. I will write Unit Test for this code change of Unit Test tool. Sometime the write Unit Test is harder than write the actual code.
Hi @jordimontana82 Thanks a lot for suggestion. I prefer to use the release version. I can wait until v2.x. I will try to create a PR later
This issue fixed for RetrieveRequest, UpdateRequest and DeleteRequest https://github.com/jordimontana82/fake-xrm-easy/issues/344
However, I need the Associate Request. I am using the Associate Request to link two records, with Alternative Keys. It is working in Dynamics 365, but not in fake-xrm-easy
Could anyone help? Or I should go to make pull request by myself?
Regards, Zhenyu