mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Retyped a counter so had to muck with many beans. Forced creation of layered directories
to work. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,8 +41,11 @@ public class AVMNodeFactory
|
||||
{
|
||||
return null;
|
||||
}
|
||||
HibernateProxy proxy = (HibernateProxy)bean;
|
||||
bean = (AVMNodeBean)proxy.getHibernateLazyInitializer().getImplementation();
|
||||
if (bean instanceof HibernateProxy)
|
||||
{
|
||||
HibernateProxy proxy = (HibernateProxy)bean;
|
||||
bean = (AVMNodeBean)proxy.getHibernateLazyInitializer().getImplementation();
|
||||
}
|
||||
if (bean instanceof PlainFileNodeBean)
|
||||
{
|
||||
return new PlainFileNode((PlainFileNodeBean)bean);
|
||||
|
Reference in New Issue
Block a user