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

Questions always say "Updated a few seconds ago" #42778

Open
rafpaf opened this issue May 16, 2024 · 1 comment
Open

Questions always say "Updated a few seconds ago" #42778

rafpaf opened this issue May 16, 2024 · 1 comment
Labels
.Frontend Priority:P2 Average run of the mill bug Querying/Cache .Team/AdminWebapp Admin and Webapp team Type:Bug Product defects

Comments

@rafpaf
Copy link
Contributor

rafpaf commented May 16, 2024

There's a discrepancy between the timestamp in the sidebar and the one in the footer. In the sidebar it says this question was last cached 44 minutes ago. In the footer it says "Updated a few seconds ago."

image

To Reproduce

View a question that was cached more than a minute ago, and look at the "Updated" timestamp in the footer.

I think this happens because QuestionLastUpdated has:

t`Updated ${moment(result.updated_at).fromNow()}`

But result.updated_at is undefined. I think the field might be obsolete.

Expected behavior

No response

Logs

No response

Information about your Metabase installation

{
  "browser-info": {
    "language": "en-US",
    "platform": "MacIntel",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "Java(TM) SE Runtime Environment",
    "java.runtime.version": "21.0.1+12-LTS-29",
    "java.vendor": "Oracle Corporation",
    "java.vendor.url": "https://java.oracle.com/",
    "java.version": "21.0.1",
    "java.vm.name": "Java HotSpot(TM) 64-Bit Server VM",
    "java.vm.version": "21.0.1+12-LTS-29",
    "os.name": "Mac OS X",
    "os.version": "14.1",
    "user.language": "en",
    "user.timezone": "UTC"
  },
  "metabase-info": {
    "databases": [
      "sqlite",
      "h2",
      "postgres"
    ],
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "14.11 (Homebrew)"
      },
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.7.3"
      }
    },
    "run-mode": "dev",
    "version": {
      "date": "2024-05-14",
      "src_hash": "b71361ac052039d559b195106d7a46710ce08931",
      "tag": "v1.1.3-SNAPSHOT",
      "hash": "6284aeb"
    },
    "settings": {
      "report-timezone": null
    }
  }
}

Severity

P3

Additional context

No response

@rafpaf rafpaf added Type:Bug Product defects .Needs Triage labels May 16, 2024
@alxnddr alxnddr added Priority:P2 Average run of the mill bug .Frontend .Team/AdminWebapp Admin and Webapp team Querying/Cache and removed .Needs Triage labels May 16, 2024
@rafpaf
Copy link
Contributor Author

rafpaf commented May 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Frontend Priority:P2 Average run of the mill bug Querying/Cache .Team/AdminWebapp Admin and Webapp team Type:Bug Product defects
Projects
None yet
Development

No branches or pull requests

2 participants