8000 Timestamp doesn’t updates on issue editing · Issue #6209 · gogs/gogs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Timestamp doesn’t updates on issue editing #6209

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

Closed
Kosadchiy opened this issue Jun 20, 2020 · 0 comments
Closed

Timestamp doesn’t updates on issue editing #6209

Kosadchiy opened this issue Jun 20, 2020 · 0 comments
Assignees
Labels
💊 bug Something isn't working status: assigned to community Take it on, you're the rockstar

Comments

@Kosadchiy
Copy link
Contributor

Timestamp db field "updated_unix" doesn’t updates on issue editing.

Gogs version and commit

Gogs version 0.11.91

2fe4d07

Git version

$ git version 2.24.3

Operating system

Debian GNU/Linux 7
or 
macOS 10.15.5

Database

MySQL 8.0.20

To Reproduce
Steps to reproduce the behavior:

  1. Create an issue
  2. Edit issue and change title
  3. Save changes
  4. "created_unix" is equal to "updated_unix"

Can you reproduce the bug at https://try.gogs.io?
Yes, the API returns JSON where created_at and updated_at are equal after issue changed:

[{
    "id": 5809,
    "number": 1,
    "user": {
        ...
    },
    "title": "Test task edited",
    "body": "",
    "labels": [],
    "milestone": null,
    "assignee": null,
    "state": "open",
    "comments": 0,
    "created_at": "2020-06-20T16:56:41Z",
    "updated_at": "2020-06-20T16:56:41Z",
    "pull_request": null
}]

Expected behavior
"updated_at" field changes after issue title update.

Actual behavior
Timestamp doesn’t updates on issue editing.

@unknwon unknwon added status: assigned to community Take it on, you're the rockstar 💊 bug Something isn't working labels Aug 23, 2020
@unknwon unknwon closed this as completed Aug 24, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💊 bug Something isn't working status: assigned to community Take it on, you're the rockstar
Projects
None yet
Development

No branches or pull requests

2 participants
0