Skip to content
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

Audit fields not updated in the rule_failure_telemetry #1152

Closed
mahalakshme opened this issue Mar 5, 2024 · 2 comments
Closed

Audit fields not updated in the rule_failure_telemetry #1152

mahalakshme opened this issue Mar 5, 2024 · 2 comments
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Mar 5, 2024

Steps to reproduce:

  • Close an open rule_failure_telemetry issue
  • The audit fields - last_modified_date_time and last_modified_by_id is not updated in the db

AC:

  • Audit fields should get updated
@mahalakshme mahalakshme changed the title Audit fields not getting updated in the rule_failure_telemetry Audit fields not updated in the rule_failure_telemetry Mar 5, 2024
@petmongrels petmongrels self-assigned this Mar 11, 2024
@AchalaBelokar
Copy link

  • Unable to see the log

@Dinesh2019
Copy link

Dinesh2019 commented Apr 1, 2024

Env : staging and pre-release

Test scenarios :

  • Create the rule failure in the client app and close the issue in web app and check the closed_date_time,last_modified_date_time and last_modified_by_id are updated.
  • Create the rule failure using user A in the client app and close the issue in the web app using admin access and check the closed_date_time,last_modified_date_time and last_modified_by_id are updated.
  • Create the rule failure using user A in the client app and close the issue in the web app using user B access and check the closed_date_time,last_modified_date_time and last_modified_by_id are updated as per the requirement.
  • Create the rule failure using user A in the client app and close the issue in the web app using super-admin access and check the closed_date_time,last_modified_date_time and last_modified_by_id are updated as per the requirement.
  • Reopen the error and check the closed_date_time is null ,last_modified_date_time and last_modified_by_id are updated as per the requirment(user name ).
  • Close the error and check the closed_date_time ,last_modified_date_time and last_modified_by_id are updated as per the requirment(user name ).
  • Reopen the error using the user A in the webapp and check the closed_date_time is null ,last_modified_date_time and last_modified_by_id are updated as per the requirment(user name ). and close the errror using the User B in the webapp and check the closed_date_time ,last_modified_date_time and last_modified_by_id are updated as per the requirment(user name )

used query to validate:

set role offvd;
select * from rule_failure_telemetry rft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

5 participants