-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return version logging to prices
DB table
#980
Conversation
merge conflict with master |
00973e8
to
55d1258
Compare
how does the registry currently log who made a change in pricelists? is the data collected and saved in the columns creator_str and updator_str preserved somewhere? |
Changes are not logged. I guess "Update price" button should be taken away http://prntscr.com/l1vmtr. Otherwise I don't see a point of having "Expire" button. |
there is a reason for expire - price promotions. The use-case example is
It might be worth to discuss if there should be only one button like expire, but either way any changes made to any record incl price list entries should be logged and thus I do not see how could we drop papertrail columns for price list without replacing these with some alternative way of tracking changes. |
Just to be sure you understand: currently, there is no audit log for prices at all. Presence of columns in question has no effect on that. They are useless. Based on your last comment, we probably need to restore this feature. But in this case I wonder why have we removed it in the first place. |
Actually the columns in question are filled for data generated before deploying #475 and as of no new prices have been defined after that currently we haven't "lost" any data. But thats good question why paper trail was removed from this table, sadly #475 doesn't have any reasoning, but sounds like data what should be audited for sure. |
the problem is not with the columns but with removed logging / version handling. |
@vohmar If I remember correctly, you said it is not needed. Should I close this PR and make a new ticket to restore versioning for |
@vohmar Reminder. |
Yes we need to track changes with prices as with anything else in the registry - need to restore change tracking. It does not have to be handled by papertrail. |
possibly will be fixed by #1563 |
cbb9cf6
to
4c755b6
Compare
4c755b6
to
55ddd61
Compare
prices
DB tableprices
DB table
55ddd61
to
8f1a4aa
Compare
8f1a4aa
to
6d908f6
Compare
PaperTrail's
Version
model itself has been removed in #475, so thosecolumns are now useless