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 trail is incorrectly saying that I updated fields #2114

Open
nanometrenat opened this issue Apr 18, 2024 · 1 comment
Open

Audit trail is incorrectly saying that I updated fields #2114

nanometrenat opened this issue Apr 18, 2024 · 1 comment

Comments

@nanometrenat
Copy link
Contributor

nanometrenat commented Apr 18, 2024

Issue

https://goadmin-stage.ifrc.org/en/admin/api/fieldreport/15157 - I changed the summary [en] field on this Field Report, did not change any other fields, then clicked Save.

When I subsequently went to look at the audit trail at https://goadmin-stage.ifrc.org/en/admin/api/fieldreport/15157/history/ it correctly reported that I had Changed Summary [en] - but it also incorrectly reported that I had changed ohter fields that hadn't been changed:
Description [en] and Actions taken (others) [en]
Changed Email for field report contacts

image

Steps to reproduce

Edit a field report in the back end

Expected behaviour

It should only show a change if there is a change

Related feature

#572

@szabozoltan69
Copy link
Contributor

Nice catch!
My guess is that it is related to the translation system somehow, which tries to give a new translation for defined fields (even if they were not changed). But it should be investigated more deeply.

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

No branches or pull requests

2 participants