Yes, internally. In UI it should look like author updating the current version.
You are the one writing UI. What is your problem?
2007/5/5, email@example.com <firstname.lastname@example.org>:Another argument: once author starts editing UMO he may not know for sure if his changes are minor or versioned. He may make his decision only after he is finished with his changes.This is not what we have in specs and mailing list discussions, maybe something changed recently and I missed it, though. Also it's veryuserunfriendly imho. Author makes minor changes to the UMO until he satisfied with it's content, then publishes it. From UI point of view, when creating new version of UMO, user expirience should be exactly the same as withminorchanges, except selecting "versioned" radio button on submit(orclicking"Publish" instead of Save") Also new version supposed to be created when user changes UMO content(adds/removes children UMOs) and this should be reflected in topic_create_version() too.The idea was - you 1) create version 2) update any information in the topic The reason for it is pretty simple. Title and description belong to content record. Since we may have multiple content records (one perlanguage),providing a single content record information doesn't make muchsense.This is universal approach for all the UMOs in the database. 2007/5/5, email@example.com <firstname.lastname@example.org>:I'm working implementing versions functionality for topic and have problem with it. Currently topic_create_version() gets only topic ID as a parameter. When author creates new version, he may change title, description and content(child UMOs that belong to this topic). The way this stored procedure work now, it only duplicates all topic properties without updating them.-- Alexey Parshin, http://www.sptk.net-- Alexey Parshin, http://www.sptk.net
-- Ilya A. Volynets-Evenbakh Total Knowledge. CTO http://www.total-knowledge.com
Authoright © Total Knowledge: 2001-2008