[MGNLMIGRATION-233] Provide scripts to automate update of configuration (workspace.xml, magnolia.properties, jaas.config) when migrating from 4.4 to 4.5 Created: 01/Mar/13  Updated: 29/Mar/13  Resolved: 28/Mar/13

Status: Closed
Project: Migration 4.4 to 4.5 (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.2, 2.0

Type: Task Priority: Major
Reporter: Jaroslav Simak Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File jaas.py     File mprop.py     File wsp.py    
Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Release notes required:
Yes
Date of First Response:

 Description   

When migrating from 4.4 to 4.5 we need to put

    <WorkspaceSecurity>
      <AccessControlProvider class="info.magnolia.cms.core.MagnoliaAccessProvider"/>
    </WorkspaceSecurity>

and remove

  1. <param name="analyzer" value="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
  2. <param name="textFilterClasses" value="..."/>

in each workspace.xml file.



 Comments   
Comment by Jaroslav Simak [ 20/Mar/13 ]

See attached script.
Usage:
jsimak:~ $ ./wsp.py /path/to/your/webapp

jsimak:~ $ ./mprop.py magnolia-enterprise-4.4.6/apache-tomcat-6.0.32/webapps/magnoliaAuthor/WEB-INF/config/default/magnolia.properties magnolia-enterprise-4.4.6/apache-tomcat-6.0.32/webapps/magnoliaPublic/WEB-INF/config/default/magnolia.properties

Comment by Milan Divilek [ 28/Mar/13 ]

Reopen: We need also script for update jaas.config

Comment by Jan Haderka [ 29/Mar/13 ]

Migration documentation needs to be updated with info from this ticket to make users aware of existence of the scripts in migration bundle and how to use them.

Generated at Mon Feb 12 10:18:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.