dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
865 stars 467 forks source link

Save manifest files separate from bundles for PP portlet inspection #29644

Open john-thomas-dotcms opened 3 months ago

john-thomas-dotcms commented 3 months ago

Parent Issue

No response

User Story

As an administrator or support engineer, I want to be able to view the contents of a bundle that was pushed even after the bundle is deleted from the disk, so I can investigate PP issues and operation without taking large amounts of disk space to store full bundles.

Currently:

Problem:

Solution:

This means that to save disk space, the full bundles can be deleted, but the unpackaged manifests can be left on disk. And that means that the PP portlet will still be able to retrieve information about old bundles after the (disk-hogging) bundles are gone.

Acceptance Criteria

  1. When a user clicks on an item in the PP portlet history list:

    • If the unpackaged manifest file exists:
      • It's opened to retrieve the bundle information.
    • If the unpackaged manifest file does not exist, but the full manifest does exist:
      • The full bundle is opened to retrieve the bundle information.
      • Note: The manifest file should not be saved as an unpackaged manifest file in this case.
        • This would cause inconsistent and support-ticket-generating behavior.
    • If neither of the files exist:
      • An error message should be displayed, Information about this bundle is no longer available.
  2. When the "Download Manifest" button in the bundle information popup is clicked:

    • The unpackaged manifest is downloaded.
  3. All operations in item 1, above, work on both sender and receiver

    • The bundle manifest is extracted and saved as an unpackaged manifest.
  4. When a bundle is deleted from dotCMS:

    • Both the full bundle and the unpackaged manifest file for that bundle are also deleted.

Proposed Objective

Customer Support

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.