Nachhalten r1541 aus rel 1.2.0: Fixed ccm-cms#content-section update script (updated title and description ot enable proper XSL detection).

git-svn-id: https://svn.libreccm.org/ccm/trunk@1542 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2012-03-17 13:19:00 +00:00
parent 216120a4a8
commit b00e272ffa
7 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,34 @@
--
-- Copyright (C) 2011 Peter Boy. All Rights Reserved.
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public License
-- as published by the Free Software Foundation; either version 2.1 of
-- the License, or (at your option) any later version.
--
-- This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- Lesser General Public License for more details.
--
-- You should have received a copy of the GNU Lesser General Public
-- License along with this library; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
-- $Id: adjust_app_properties.sql $
-- ccm-cms ContentSection is now initialized as a legacy free type of
-- application.
-- Application properties as title have to be adjusted in order to make
-- XSL style sheets locatable.
-- Rename title from CMS Content Section to just Content Section
update application_types
set title='Content Section'
where title like 'CMS Content Section';
-- Adjust description
update application_types
set description='The CMS Content Section application.'
where title like 'Content Section';

View File

@ -21,3 +21,4 @@
PROMPT Red Hat Enterprise CMS 6.6.5 -> 6.6.6 Upgrade Script (Oracle)
@@ ../default/upgrade/6.6.5-6.6.6/remove_legacy_entries.sql
@@ ../default/upgrade/6.6.5-6.6.6/adjust_app_properties.sql

View File

@ -24,5 +24,6 @@
begin;
\i ../default/upgrade/6.6.5-6.6.6/remove_legacy_entries.sql
\i ../default/upgrade/6.6.5-6.6.6/adjust_app_properties.sql
commit;

View File

@ -45,6 +45,7 @@ import org.apache.log4j.Logger;
*/
public class Service extends Application {
/** Logger instance for debugging */
private static final Logger s_log = Logger.getLogger(Service.class);
// pdl stuff (constants)

View File

@ -0,0 +1,33 @@
--
-- Copyright (C) 2012 Peter Boy. All Rights Reserved.
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public License
-- as published by the Free Software Foundation; either version 2.1 of
-- the License, or (at your option) any later version.
--
-- This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- Lesser General Public License for more details.
--
-- You should have received a copy of the GNU Lesser General Public
-- License along with this library; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
-- $Id: adjust_app_properties.sql $
-- ccm-subsite is now initialized as a legacy free type of application.
-- Application properties as title have to be adjusted in order to make
-- XSL style sheets locatable.
-- Rename title from CCM Subsite Admin to just Subsite
update application_types
set title='Subsite'
where title like 'CMS Subsite Admin';
-- Adjust description
update application_types
set description='The CCM subsite administration application.'
where title like 'Subsite';

View File

@ -28,3 +28,5 @@
@@ default/6.6.0-6.6.1/remove_legacy_entries.sql
-- adjust class name in content_sections table
@@ default/6.6.0-6.6.1/upd_cms_tables.sql
-- adjust properties like title in application_types
@@ default/6.6.0-6.6.1/adjust_app_properties.sql

View File

@ -36,4 +36,7 @@ begin;
-- adjust class name in content_sections table
\i default/6.6.0-6.6.1/upd_cms_tables.sql
-- adjust properties like title in application_types
\i default/6.6.0-6.6.1/adjust_app_properties.sql
commit;