Author: rwatler
Date: Thu Sep 16 14:59:44 2010
New Revision: 997775

URL: http://svn.apache.org/viewvc?rev=997775&view=rev
Log:
Allow DB migration for PAM created preferences with missing read_only attribute 
settings

Modified:
    
portals/jetspeed-2/portal/trunk/components/jetspeed-registry/src/main/java/org/apache/jetspeed/tools/migration/JetspeedRegistryMigration.java

Modified: 
portals/jetspeed-2/portal/trunk/components/jetspeed-registry/src/main/java/org/apache/jetspeed/tools/migration/JetspeedRegistryMigration.java
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-registry/src/main/java/org/apache/jetspeed/tools/migration/JetspeedRegistryMigration.java?rev=997775&r1=997774&r2=997775&view=diff
==============================================================================
--- 
portals/jetspeed-2/portal/trunk/components/jetspeed-registry/src/main/java/org/apache/jetspeed/tools/migration/JetspeedRegistryMigration.java
 (original)
+++ 
portals/jetspeed-2/portal/trunk/components/jetspeed-registry/src/main/java/org/apache/jetspeed/tools/migration/JetspeedRegistryMigration.java
 Thu Sep 16 14:59:44 2010
@@ -462,10 +462,6 @@ public class JetspeedRegistryMigration i
                                 {
                                     readOnly = 
(Boolean.parseBoolean(readOnlyResultSet.getString(1)) ? (short)1 : (short)0);
                                 }
-                                else
-                                {
-                                    throw new SQLException("Unable to find 
read only preference value for preference: "+fullPath);
-                                }
                                 readOnlyResultSet.close();
                             }
                         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to