I just noticed a weird behavior (maybe I don’t know something) when I tried to save current user as a author of created thing. I have a marketplace where user can be a seller or buyer. When user A is creating something (product for example) then application is saving him as a author of this “auction”. The problem is that the field Author is empty when someone else than autor (user A) is on the page. When user B will go to user A “auction” page, the Author field will be empty.
Structure of data in database
Could you tell me where is the problem?