Skip to content

Monica updates contact updated_at date when listed #7068

@radenui

Description

@radenui

⚠️ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions