Ticket #2 (closed defect: fixed)
First version created in an existing record: version 2
|Reported by:||bruno||Owned by:||evert|
Description (last modified by bruno) (diff)
When creating a record with only non-versioned fields, and later updating it with a versioned field, the returned record object will return 2 for getVersion(). It also returns 2 when doing a fresh repository read (see testcase on #1).
I would expect this first version to have number 1. If not, it is impossible to know if this version was the first created version for the record, which I do need to know for the LinkIndexUpdater?.
When creating a record with versioned fields, the first real version is numbered 1 (which is good). When updating only non-versioned fields, no new versions are created either. It is only in the above scenario that some sort of fake version 1 is created.