You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the sortTagsByDate option on a docker registry, images will fail to load in the UI if the cached images store their date as a string:
Full error:
"{\"error\":\"Internal Server Error\",\"exception\":\"groovy.lang.MissingPropertyException\",\"message\":\"No such property: epochSecond for class: java.lang.String\",\"status\":500,\"timestamp\":\"2024-01-10T22:01:47.836+00:00\"}"
We're using redis and the date in the cached images is stored as a string:
This issue is tagged as 'stale' and hasn't been updated in 45 days, so we are tagging it as 'to-be-closed'. It will be closed in 45 days unless updates are made. If you want to remove this label, comment:
This issue is tagged as 'stale' and hasn't been updated in 45 days, so we are tagging it as 'to-be-closed'. It will be closed in 45 days unless updates are made. If you want to remove this label, comment:
Issue Summary:
When using the
sortTagsByDate
option on a docker registry, images will fail to load in the UI if the cached images store their date as a string:Full error:
We're using redis and the date in the cached images is stored as a string:
I believe this line of code is the issue: https://github.com/spinnaker/clouddriver/blob/master/clouddriver-docker/src/main/groovy/com/netflix/spinnaker/clouddriver/docker/registry/controllers/DockerRegistryImageLookupController.groovy#L54
Cloud Provider(s):
GCP
Environment:
Kubernetes 1.24, Spinnaker 1.31.3
Feature Area:
UI
Description:
Images should appear in the UI when using
sortTagsByDate
.Steps to Reproduce:
Set
sortTagsByDate
to true and try to select images in the UI. Images where the date is cached as a string will fail to load.The text was updated successfully, but these errors were encountered: