Created attachment 113540 [details] Print screen actions_logs table When a user adds an instance, the information is saved in the action_logs table, however it is evident that in version 20.05 the object column remains empty. This is not the case in previous versions.
Created attachment 114086 [details] [review] Bug 27003: Item creation log must be done after the item is created Otherwise we don't have its itemnumber yet! Test plan: Add and modify an item and confirm that the action logs are created correctly
Created attachment 114093 [details] [review] Bug 27003: Item creation log must be done after the item is created Otherwise we don't have its itemnumber yet! Test plan: Add and modify an item and confirm that the action logs are created correctly Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Small patch, passing QA
Thanks Nick! I'd like a separate QA stamp, just in case. We are going to backport it and it touches a ->store method.
Created attachment 114192 [details] [review] Bug 27003: Item creation log must be done after the item is created Otherwise we don't have its itemnumber yet! Test plan: Add and modify an item and confirm that the action logs are created correctly Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Pushed to master for 20.05, thanks to everybody involved!
Pushed to 20.11.x for 20.11.01
Pushed to master for 21.05, thanks to everybody involved!
Doesn't apply cleanly to 20.05, please rebase if needed