Author: billyxie
Date: 2009-05-04 12:20:11 +0200 (Mon, 04 May 2009)
New Revision: 34922

Added:
   
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.5_to_1.6.txt
Removed:
   
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.6.1_to_1.6.2.txt
Log:
CMSC-1272 - Dynamic form uses description field, but should have its own intro 
field

Added: 
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.5_to_1.6.txt
===================================================================
--- 
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.5_to_1.6.txt
                           (rev 0)
+++ 
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.5_to_1.6.txt
   2009-05-04 10:20:11 UTC (rev 34922)
@@ -0,0 +1,60 @@
+Migration document:
+
+Part: portlets dynamicforms
+From version: 1.6.1
+To version: 1.6.2
+
+
+Execute the following steps below in the given order:
+
+Name: Add a intro column and a body column in <prefix>_responseform table
+Goal: add intro field and body field in dynamic form & copy description field 
to intro field & after copying, clean the description field, CMSC-1272
+Type:  sql-script
+--- Start script ---
+ALTER TABLE mm_responseform ADD intro text;
+ALTER TABLE mm_responseform ADD body mediumtext;
+UPDATE mm_responseform SET intro = description;
+UPDATE mm_responseform SET description = NULL;
+
+ALTER TABLE live_responseform ADD intro text;
+ALTER TABLE live_responseform ADD body mediumtext;
+UPDATE live_responseform SET intro = description;
+UPDATE live_responseform SET description = NULL;
+--- End script ---
+Exceptions/errors/other problems and what to do:
+*
+*
+*
+
+Name:  update the templete jsp
+Goal:  change templates jsp to use intro & body field 
+       fixed the styling, CMSC-1272
+Type:  manual action
+Steps:
+1. update the following
+<div class="kolombestel">
+to 
+<div class="responseform">
+
+2. update the following
+               <mm:field name="description">
+                       <mm:isnotempty><p><mm:write 
escape="none"/></p></mm:isnotempty>
+               </mm:field>                             
+to 
+       <mm:field name="intro">
+               <mm:isnotempty><div class="intro"><mm:write 
escape="none"/></div></mm:isnotempty>
+       </mm:field>
+   
+   <mm:field name="body">
+      <mm:isnotempty><div class="body"><mm:write 
escape="none"/></div></mm:isnotempty>
+   </mm:field>
+ 
+3. update the following
+<mm:isnotempty><p class="body"><mm:write 
escape="none"/></p></mm:isnotempty></mm:field>        
+to 
+<mm:isnotempty><div class="confirmation"><mm:write 
escape="none"/></div></mm:isnotempty></mm:field>
+ 
+Exceptions/errors/other problems and what to do:
+*
+*
+*

Deleted: 
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.6.1_to_1.6.2.txt
===================================================================
--- 
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.6.1_to_1.6.2.txt
       2009-05-04 10:08:13 UTC (rev 34921)
+++ 
CMSContainer/trunk/CMSContainer_Portlets/portlets-dynamicforms/migration/migration_1.6.1_to_1.6.2.txt
       2009-05-04 10:20:11 UTC (rev 34922)
@@ -1,60 +0,0 @@
-Migration document:
-
-Part: portlets dynamicforms
-From version: 1.6.1
-To version: 1.6.2
-
-
-Execute the following steps below in the given order:
-
-Name: Add a intro column and a body column in <prefix>_responseform table
-Goal: add intro field and body field in dynamic form & copy description field 
to intro field & after copying, clean the description field, CMSC-1272
-Type:  sql-script
---- Start script ---
-ALTER TABLE mm_responseform ADD intro text;
-ALTER TABLE mm_responseform ADD body mediumtext;
-UPDATE mm_responseform SET intro = description;
-UPDATE mm_responseform SET description = NULL;
-
-ALTER TABLE live_responseform ADD intro text;
-ALTER TABLE live_responseform ADD body mediumtext;
-UPDATE live_responseform SET intro = description;
-UPDATE live_responseform SET description = NULL;
---- End script ---
-Exceptions/errors/other problems and what to do:
-*
-*
-*
-
-Name:  update the templete jsp
-Goal:  change templates jsp to use intro & body field 
-       fixed the styling, CMSC-1272
-Type:  manual action
-Steps:
-1. update the following
-<div class="kolombestel">
-to 
-<div class="responseform">
-
-2. update the following
-               <mm:field name="description">
-                       <mm:isnotempty><p><mm:write 
escape="none"/></p></mm:isnotempty>
-               </mm:field>                             
-to 
-       <mm:field name="intro">
-               <mm:isnotempty><div class="intro"><mm:write 
escape="none"/></div></mm:isnotempty>
-       </mm:field>
-   
-   <mm:field name="body">
-      <mm:isnotempty><div class="body"><mm:write 
escape="none"/></div></mm:isnotempty>
-   </mm:field>
- 
-3. update the following
-<mm:isnotempty><p class="body"><mm:write 
escape="none"/></p></mm:isnotempty></mm:field>        
-to 
-<mm:isnotempty><div class="confirmation"><mm:write 
escape="none"/></div></mm:isnotempty></mm:field>
- 
-Exceptions/errors/other problems and what to do:
-*
-*
-*

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to