Forum OpenACS Q&A: Re: Assessment - urgent

Collapse
47: Re: Assessment - urgent (response to 1)
Posted by Dave Bauer on
Not having looked at the code. It seems like if two users can add a revision to the same cr_item, this would occur, as the trigger would try to update cr_items.latest_revision.

That said, I can't imagine why that would happen, and I think there definitely is a misunderstanding in how the CR should be used in the design of the assessment package.

Collapse
Posted by Peter Alberer on
What i do not understand about the design of the assessment packages is why submissions are put into the CR. In my understanding the CR is mainly for things where versioning is relevant. Are submissions to an assessment something where versioning is needed?
Collapse
Posted by Dave Bauer on
Peter,

Yes, in some cases, you want to have a history of edits to an assessment.

The survey package supported the same type of feature, but not based on the content repository. It has other performance issues in selecting the latest/correct survey submissions, although I don't recall any issues in inserting new responses.