You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
CreatedOn and ModifiedOn columns should not be data driven
These values should always be a the current date and user should never be able to change its value based on input.
To Reproduce
Steps to reproduce the behavior:
Hit any post API where the base model entity is UserModifiableEntity
Pass the createdOn and modifiedOn date values as some backdated data
Observe the entry in database
Instead of current date the values will be one provided in input
Expected behavior
Should always be the current date time.
The text was updated successfully, but these errors were encountered:
Describe the bug
CreatedOn and ModifiedOn columns should not be data driven
These values should always be a the current date and user should never be able to change its value based on input.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should always be the current date time.
The text was updated successfully, but these errors were encountered: