Open vinayvenu opened 3 months ago
Whats the issue in this ........ like how to update User.setAuditInfo to make changes for the above following or something else
@Dashlet26 didn't understand your concern.
Whats the issue in this
Try any of the urls mentioned in the issue, and you will notice that last_modified_by_id and last_modified_by columns on the users table are not modified. They need to be updated in all these scenarios.
If this is not clear, please join https://join.skype.com/xiTU162DSJTd so we can understand your concern.
@vinayvenu Would like to work on this bug, if needed we can join a call for understanding the bug in depth...
@vinayvenu , I've tried to fix this issue . Could you please review the changes? Please let me know If any further adjustments are needed!!
https://github.com/ombhardwajj/avni-server/commit/64df2659901b03bae7de4ca0c2ebc63e109b31a6
@ombhardwajj can you please raise a PR?
The regular audit mechanism for all transactions in Avni does not work with the
User
domain object. As a result, all changes require us to manually set the user who updates a user. This currently does not happen for the following.There is a
User.setAuditInfo
that will need to be called in all these scenarios