Red Hat Bugzilla – Bug 969719
setup_rewritten in managed_files.yml doesn't do anything
Last modified: 2015-05-14 19:20:25 EDT
Description of problem:
It's supposed to delete those listings before rerunning setup. It seems to do nothing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add blah to setup_rewritten in managed_files.yml of a cart
2. touch blah
3. Rerun a setup file that fails if blah exists and then writes blah
Should succeed because setup_rewritten specified blah
The setup script is currently run in two scenarios:
1) on cartridge create: No files exist so there are no files to delete
2) on cartridge migration: setup_rewritten files are removed in this case
Please reopen bug if there is a scenario that has been missed.
Sorry I searched for the code before and missed the code in migrate.rb (and my scenario I listed wasn't really correct. Should have referenced the migration.). There is one scenario missed but hasn't been implemented yet to handle upgrading downloadable carts.