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

When properties are set to 'audited' in the Entity Configuration, they are not logged in audit log #1505

Open
hlayisanimazuze opened this issue May 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hlayisanimazuze
Copy link
Collaborator

If you set a property to audited in the entity configuration, when the property is updated/changed, the logs are not recorded on the audit log

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/settings/entity-configs/configurator' and search for bank
  2. Confirm name and description properties are set to 'audited
  3. Navigate to https://function-adminportal-test.shesha.dev/dynamic/TestModule/audited-test-details?id=0119db8e-512b-45ce-9a1a-01ed76869839 and update name and description properties
  4. Save the changes
  5. Click on 'Audit Log' button
  6. Confirm whether the changes updated are logged on the audit log
  7. Actual Results: The updated changes are not logged

Expected behavior
If a property is set to audited, it should log the changes

Member: https://function-adminportal-test.shesha.dev/dynamic/TestModule/views-details?id=e9f47285-ac2a-427d-b18b-0eeea7805da1. This shows the properties that are set to audited from the code such as MembershipNumber, MaritalStatus, Province, MembershipStatus. I set title form Entity Configuration and when the property is updated, it does not log the audits.

I also checked this entity: https://function-api-test.shesha.dev/swagger/index.html?urls.primaryName=EntityChangeAuditLogCrud, and all the updates I've made on the properties I've set on Entity Configuration are not listed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants