Audit log wrongfully contains user with ID 0 - intermittent issue
I seem to be experiencing an intermittent issue with the audit log - on some of the audit log records, the user with ID 0 is recorded as performing actions where they have been performed by another person.
According to the umbracoLog table, there seems to be no correlation with the type of event and the issue - the 'UnPublish performed by user' is recorded on a single node twice in one day at different times (correctly), once with the correct user and once with user ID 0.
I have looked through the issue tracker, and only have found one issue which relates to 6.1.6 and 6.2.4.
I am going to disable the account with user ID 0, and monitor the umbracoLog table - my guess is that the user ID is not being set on some events (for whatever reason) and is therefore using user ID 0 as the default.
Does anybody have any ideas around the issue and what could be causing it?
User ID 0 is the Admin user that gets set up when you create the site. It's also used by a lot of internal actions that are performed without a logged in user, so the scheduled publisher etc will always show up as user 0. Did the pages have scheduled publish/unpublish actions set against them?
Did you find a solution for the problem we also face?
We can reproduce the behavior by manually unpublishing content pages (without scheduling it) just using the green "unpublish" button: The UmbracoLog entry "Unpublish performed by user" is logged with userId 0, whereas saving and publishing are logged correctly.
We are using Umbraco 7.2.5
Audit log wrongfully contains user with ID 0 - intermittent issue
I seem to be experiencing an intermittent issue with the audit log - on some of the audit log records, the user with ID 0 is recorded as performing actions where they have been performed by another person.
According to the
umbracoLog
table, there seems to be no correlation with the type of event and the issue - the 'UnPublish performed by user' is recorded on a single node twice in one day at different times (correctly), once with the correct user and once with user ID 0.I have looked through the issue tracker, and only have found one issue which relates to 6.1.6 and 6.2.4.
I am going to disable the account with user ID 0, and monitor the
umbracoLog
table - my guess is that the user ID is not being set on some events (for whatever reason) and is therefore using user ID 0 as the default.Does anybody have any ideas around the issue and what could be causing it?
User ID 0 is the Admin user that gets set up when you create the site. It's also used by a lot of internal actions that are performed without a logged in user, so the scheduled publisher etc will always show up as user 0. Did the pages have scheduled publish/unpublish actions set against them?
Did you find a solution for the problem we also face? We can reproduce the behavior by manually unpublishing content pages (without scheduling it) just using the green "unpublish" button: The UmbracoLog entry "Unpublish performed by user" is logged with userId 0, whereas saving and publishing are logged correctly. We are using Umbraco 7.2.5
@Ajit, I did not find a solution - the work around was to only use the user with ID 0 as a service account.
Hi Phil,
Can you elaborate more , when u say - "with ID 0 as a service account." ?
thanks,
is working on a reply...