cvat icon indicating copy to clipboard operation
cvat copied to clipboard

Does not update the 'updated_date' value of an issue

Open k1won opened this issue 2 years ago • 0 comments

My actions before raising this issue

  • [x] Read/searched the docs
  • [x] Searched past issues

Expected Behaviour

  • If there is a change in the issue, 'updated_date' should be updated with the current time value.

Current Behaviour

  • The 'updated_date' value of an issue is always null though a change occurs.

Possible Solution

  • modify update_date field declaration of the Issue model class like below.

updated_date = models.DateTimeField(auto_now=True)

Steps to Reproduce (for bugs)

  1. create an issue for a job
  2. change 'resolved' attribute value to 'True'

Context

Your Environment

  • Git hash commit (git log -1): b5bac8c0
  • Docker version docker version (e.g. Docker 17.0.05):
  • Are you using Docker Swarm or Kubernetes?
  • Operating System and version (e.g. Linux, Windows, MacOS): ubuntu 18.04
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container

Next steps

You may join our Gitter channel for community support.

k1won avatar Feb 26 '22 13:02 k1won