> Hi all,
>
> I ran into a little problem earlier today.
>
> Basically, renaming a directory doesn't work. I'm not sure whether this
> is a bug or a configuration error, though.
>
> The problem is this: the way my Domain.xml file is at the moment, the
> basic directory structure (fairly complex) is created by slide at first
> startup. However, we don't define any <revision> tags on the
> directories. Is this wrong (i.e. are directories required to be
> versioned like this?).

One of the problem is that the XMLUnmarshaller doesn't do half of what it
advertises at the moment. Basically, you can't create versioned resources
during bootstrap, and you can't import content either.

> The result of this is that something in MacroImpl.java throws a
> RevisionDescriptorNotFoundException, and things get screwed up (actually
> it appears to cause a corrupted database, though that may have been
> something else). This is easily fixed by having the chunk of code
> dealing with copying revisions be inside a try/catch block, and catch
> that exception (this works, I just tested it). I'm not sure, though,
> whether this is correct, because I'm not sure whether it's MEANT to be
> legal to have revision-less objects. It's not difficult to solve either
> way, but I'd like to do the right thing.
>
> I'll also note at this point that the example Domain.xml doesn't define
> revisions on any of the directories it creates - but, on the other hand,
> it only creates the root, and /users, /actions, and /files - none of
> which would be expected to ever change.

I'll look into the issue. I have a question : Does it break only with the
objects created at bootstrap (like the "files" collection) ? It shouldn't
break with "normal" collections or resources.

Remy

Reply via email to