Forum OpenACS Q&A: Re: Which parameters/values must be passed to content::revision::new?

Yes, you need to pass in all the attributes. It does now "know" about previous revisions so you need to pass in all the attributes, content::revision::new does not copy from a previous revision.
Hi Dave,

thank you for your answer.

It does now "know" or it doesn't "know" about previous revisions?

Is there a recommended strategy or procedure if someone just want to change one or two values and leave the rest as before?

TIA again,
Nils

Wouldn't it make sense to have a "-latest" and "-live" boolean switch, which would define that content::revision::new should take the values from the live or latest revision whenever a value is not supplied?

Alternatively add an "-old_revision_id" switch?