alphagov/govuk_content_models — pull request #8 by jystewart (2012-08-07 17:38:35+00:00)
Title: Only delete associated artefact with an edition if it's the only edition

There has been a bug where deleting an in-progress edition also deletes the associated artefact. If there are existing published editions this removes the item from the system and leaves the data in an inconsistent state. This commit fixes that.

https://www.pivotaltracker.com/story/show/33851039