Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

CreatorUserId getting saved as null. #1776


User avatar
0
sparkyjr created

Hi,

What all are the possible cases when the CreatorUserId goes as null?


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    It's saved as null if the entity is created when user did not login (so, we don't know userid).

  • User Avatar
    0
    sparkyjr created

    <cite>hikalkan: </cite> It's saved as null if the entity is created when user did not login (so, we don't know userid).

    Thanks for your reply!

    But, that's not the case. User is logged in. We update a record using either InsertOrUpdateAsync or UpdateAsync method. The LastModifierUserId gets updated with correct UserId, but, the CreatorUserId becomes NULL. That's a big issue for us. Could you please check and tell us why does this happen?

    Thanks in advance!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I write a simple unit test to simulate your case, but it worked as expected. Can you share your code for this case ? So we can understand the problem better.