[opencms-dev] problem with permissions

Christoph Kukulies kuku at physik.rwth-aachen.de
Mon Jul 14 15:23:31 CEST 2014


Am 14.07.2014 15:10, schrieb Christoph Kukulies:
> It turned out that the problem is not telated with certain roles the 
> user has, moreover it also happens
> when I do the database import as user Admin.
related that should read.

Further down I'm getting the cause: the resource alreday exists. I had 
that already several times. Is there a war to "renumber" the resource-ids
in the opencms database?


>
> I'm getting:
>
> Importing/galleries/content-e/Index-e.gif ... Exception 
> org.opencms.file.CmsVfsResourceAlreadyExistsException: Error creating 
> resource "/galleries/content-e/Index-e.gif" on path 
> "/sites/company/galleries/content-e/Index-e.gif".
> at 
> org.opencms.file.CmsVfsResourceAlreadyExistsException.createException(CmsVfsResourceAlreadyExistsException.java:77)
> at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:238)
> at org.opencms.db.CmsDbContext.report(CmsDbContext.java:212)
> at 
> org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2638)
> at 
> org.opencms.file.types.A_CmsResourceType.importResource(A_CmsResourceType.java:495)
> at 
> org.opencms.file.types.CmsResourceTypeImage.importResource(CmsResourceTypeImage.java:341)
>
> It may come from the fact that the target site is a copy of the 
> intranet site.
> Or what might lead to a CmsVfsResourceAlreadyExistsException ?




More information about the opencms-dev mailing list