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

Monica updates contact updated_at date when listed #7068

Open
3 tasks done
radenui opened this issue Dec 15, 2023 · 1 comment
Open
3 tasks done

Monica updates contact updated_at date when listed #7068

radenui opened this issue Dec 15, 2023 · 1 comment
Labels

Comments

@radenui
Copy link

radenui commented Dec 15, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Monica's Code of Conduct.

Bug description

Monica updates contact updated_at date when listed

Steps to reproduce

  1. When listing contacts in version 4.x
  2. All displayed contacts are uptated
  3. Typical request executed in DB:
    15163 Prepare update contacts set uuid = ?, contacts.updated_at = ? where id = ?
    15163 Execute update contacts set uuid = '2917ce9d-2830-44cc-9548-7e9dfadb3929', contacts.updated_at = '2023-12-15 08:47:40' where id = 1

Expected behavior

At list, no modification has been done into the contact. I should expect no update.

Besides, this slows down list drastically!

Environment

Your own self-hosted instance (monica v4)

Version of Monica

4.0.0

Installation method

Docker image

Web server

Nginx

Database engine version

MariaDB

Additional info

No response

@radenui radenui added the bug label Dec 15, 2023
@FOFANA12
Copy link

Thank you for reporting this issue.
I am working on fixing this issue.
Expect a pull request soon!

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

No branches or pull requests

2 participants