0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00

upgrade consideration note for #1044

This commit is contained in:
Matt Westcott 2015-03-10 17:26:24 +00:00
parent 4f7edeed1f
commit a3b39fa901

View File

@ -21,4 +21,19 @@ Bug fixes
~~~~~~~~~
* django-taggit library updated to 0.12.3, to fix a bug with migrations on SQLite on Django 1.7.2 and above (https://github.com/alex/django-taggit/issues/285)
* Fixed a bug that caused children of a deleted page to not be deleted if they had a different type
* Fixed a bug that caused children of a deleted page to not be deleted if they had a different type
Upgrade considerations
======================
Orphaned pages may need deleting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This release fixes a bug with page deletion introduced in 0.8, where deleting a page with child pages will result in those child pages being left behind in the database (unless the child pages are of the same type as the parent). This may cause errors later on when creating new pages in the same position. To identify and delete these orphaned pages, it is recommended that you run the following command (from the project root) after upgrading to 0.8.6::
./manage.py fixtree
This will output a list of any orphaned pages found, and request confirmation before deleting them.
Since this now makes ``fixtree`` an interactive command, a ``./manage.py fixtree --noinput`` option has been added to restore the previous non-interactive behaviour. With this option enabled, deleting orphaned pages is always skipped.