Attaching a new custom theme doesn't clean the previous one
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard Charm |
In Progress
|
Medium
|
Mia Altieri |
Bug Description
Charm rev. ch:openstack-
I have an initial-
I attach it with:
juju attach-resource openstack-dashboard theme=initial-
juju config openstack-dashboard custom-theme=true
and in the unit I see:
root@juju-
local_settings.py static templates
Then I want to get rid of templates folder in the custom theme.
I create a new-theme.tgz containing only: "static/", "local_settings.py"
I attach it with: juju attach-resource openstack-dashboard theme=new-theme.tgz
and although I can see local_settings.py and static being updated, templates folder is not removed.
Charm should clean any previous file/folder of the custom-theme before extracting the new one to avoid side-effect depending on files not needed by the new theme attached.
Changed in charm-openstack-dashboard: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 22.04 |
tags: | added: good-first-bug |
Changed in charm-openstack-dashboard: | |
status: | Triaged → In Progress |
Changed in charm-openstack-dashboard: | |
assignee: | nobody → Mia Altieri (miaaltieri) |
description: | updated |
Changed in charm-openstack-dashboard: | |
milestone: | 22.04 → none |
Change abandoned by "James Page <email address hidden>" on branch: master /review. opendev. org/c/openstack /charm- openstack- dashboard/ +/816795
Review: https:/
Reason: This review is > 12 weeks without comment, and failed testing the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.