Closed zcolah closed 5 months ago
Additional replication steps needed
@zcolah Does your user have a name?
@agalin920
It seems like my user name does have a name btw
@markelmad for https://8-f48cf3a682-7fthvk.api.dev.zesty.io/v1/env/audits?affectedZUID=7-fc84f2b8f9-j25dz2&limit=100000
Why don't we get a created nor updated audit action?
@markelmad Confirmed that creating a new content item does not add an 'created' audit item. Is this expected? Should a bug or feature request be added for this as this is needed to properly support desired functionality
@markelmad this is not expected behavior. Please file this as a bug. We should save logs on all API actions
@giseleblair this is part of a larger conversation that needs to be had regarding the Audit Log for a content item not reflecting correctly. Will be discussing the same with Randy and Stuart today.
@giseleblair has any customer spoken up about this issue?
@zcolah there has not been any customer feedback on this.
@agalin920 this issue seems to be occurring only on version 1 as we do not have a "Created" audit log. Potentially a workaround could be that we check the [created by] on the item's API and use that value as any user who creates the item is technically the user who saved the item in it's v1 state.
@zcolah Yea good idea. If no audit log present we can default to that.
@giseleblair @agalin920 made an issue for it https://github.com/zesty-io/manager-ui/issues/2466
@markelmad any updates with this?
@agalin920 I can also confirm the bug. Still investigating why creating an item doesn't show the user's name when hovered despite the API storing the user's ZUID in the db column action_by_user_zuid
. Moreover, when updating an item, for the 'hover' to show the name, it requires an API purge (or by saving another item). I will also investigate if this can be done on the API side.
@markelmad the main issue it that there is no created activity record for a content item. Can you verify that?
@agalin920 if there is no created activity record for the content item, may we take the following approach:
We check the [created by] on the item's API and use that value as any user who creates the item is technically the user who saved the item in it's v1 state.
Also we can use this as a temporary workaround if @markelmad is busy and needs more time to investigate this issue
Describe the bug I saved a content item but when I hover over the saved text it does not show that I saved the item. It is just blank after the word "by"