Project

General

Profile

Actions

Bug #36629

closed

Capsule Content view's 'Last published' field is confusing

Added by Chris Roberts about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:

The 'Last published' section causes confusions while verifying the content views associated with the Capsule.

It appears that the 'Last published' refers to the date when the content views were actually created, it does not represent the last publish/promote date.

It would be nice if we can rename 'Last published' to something else like 'Content View added/created' or anything that will help to understand what it actually stands for.

It's a regression.

The last_published date is the last published date for the content view , i.e, date of creation of latest version of the content view. Not necessarily the date of publish of version promoted to the env capsule is in. I believe we could change that here:
app/views/katello/api/v2/capsule_content/sync_status.json.rabl
:last_published => content_view.versions.empty? ? nil : content_view.versions.last.created_at,

Actions

Also available in: Atom PDF