From: Franco P. <fr...@me...> - 2009-08-11 20:15:33
|
Hello everybody, this is my first message to the list, and is because i need to implement some new functionality and i thought about CMFEditions to do it. To simplify the story, i have 2 CT's: CT "A" is a folderish for CT "B" (which is not a folderish) they both have files and i'm using fss to manage that. now, what i need to do is to have a new CT, "C" that will have reference to one or more "A" objects. Now, when that happens, i need all of "A" objects referenced to not be able to be changed, so that's when CMFEditions come in. (actually they can be, like an errata, but that's another scope) What i came up with is that the reference from "C" is actually a reference to an exact version of "A" so no matter if that object is modified, i always access the version i wanted. I managed to make "A" and "B" versionable, and works fine with fss, but i'm not being able to integrate the "A" version with the "B" objects inside. What i would need is that when i have, say, version 1 of "A" i also have the "B" objects that existed in that version of "A", at this point they seem to be independent, any clue on how to do what i need? i couldn't find how. In addition, i asked in plone-users but didn't have a response. Are versions copies from the original object ? (ie, if i'm in version 180 of some object, and i request version 1, do i get the copy? or the object gets created backward from version 180?) what i would like is the copy, since disk space is not an issue, but CPU is. Ok, any feedback is welcomed. Thanks in advance for reading. Franco |