[opencms-dev] CmsVfsResourceAlreadyExistsException.java:77

Andrea Puddu docpuddu at tiscali.it
Thu Nov 18 12:36:28 CET 2010


> I peeked into the manifest file and located the uuid:
>
>                          <type>downloadgallery</type>
>                          <uuidstructure>2c897162-4abe-11de-98dd-0016f2582fcd</uuidstructure>

> Could I just remove the uidstructure tag?
Folders have the uuidstructure tag only
Resources (files) have both uuidstructure and uuidresource

I'm used to remove all uuid tags completely.
(This is because once I have removed one... I then have another 
exception on another resource/folder etc)

> The target is 7.0.5, the source site is 7.5.0. Maybe a good opportunity to
> update the target site.
> When I export the site and reimport it into the new site, wouldn't the
> uuids be exported as well and thus "infecting" my new site as well?

Based on my experience the answer is: yes they do.
Based on the theory* they shouldn't infect.

*id's in OpenCms are randomly calculated starting from the MAC address 
of the server.
So I think same resource/tree in different VFSs should have different uuid!

HTH
Ciao,
Andrea

---------------------------
Andrea Puddu
docpuddu at tiscali dot it
http://www.linkedin.com/in/andreapuddu
-------------------------------------------





More information about the opencms-dev mailing list