From 89abccb3bf23e589f47202f86f8f87f6fd090071 Mon Sep 17 00:00:00 2001 From: jensp Date: Thu, 25 Dec 2014 10:02:47 +0000 Subject: [PATCH] Added missing delete for authoring step com.arsdigita.cms.ui.authoring.ArticleImage (replaced by ccm-cms-assets-imagestep) to upgrade ccm-cms-6.6.0-6.6.1 git-svn-id: https://svn.libreccm.org/ccm/trunk@3064 8810af33-2d31-482b-a856-94f89814c4df --- .../6.6.0-6.6.1/drop_table_cms_article_image_map.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.0-6.6.1/drop_table_cms_article_image_map.sql b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.0-6.6.1/drop_table_cms_article_image_map.sql index f56e27af0..a95113ca6 100644 --- a/ccm-cms/sql/ccm-cms/default/upgrade/6.6.0-6.6.1/drop_table_cms_article_image_map.sql +++ b/ccm-cms/sql/ccm-cms/default/upgrade/6.6.0-6.6.1/drop_table_cms_article_image_map.sql @@ -38,3 +38,14 @@ INSERT INTO cms_item_image_attachment ( attachment_id, item_id, image_id, captio FROM cms_article_image_map; DROP TABLE cms_article_image_map; + +-- Delete ArticleImage authoring step. Replaced by ccm-cms-assets-imagestep. Uses an asset step +-- which is added using the initializer so there is no need to add something to the authoring_steps +-- table. + +DELETE FROM authoring_kit_step_map + WHERE step_id IN (SELECT step_id + FROM authoring_steps + WHERE component = 'com.arsdigita.cms.ui.authoring.ArticleImage'); + +DELETE FROM authoring_steps WHERE component = 'com.arsdigita.cms.ui.authoring.ArticleImage';