Actions
Bug #3511
closedDbo ptr_tuples containing dbo ptr objects without versionFields can fail
Start date:
08/03/2014
Due date:
% Done:
0%
Estimated time:
Description
A ptr_tuple containing a dbo ptr object without a versionField, in a position other than last in the tuple, may throw an exception or return incorrect field data.
The issue only appears to affect dbo ptr objects with surrogate ids.
Please see the attached patch file for a more detailed description, along with dbo test cases to demonstrate the issue.
The attached file also provides a possible patch fix for your review. It works with the test cases, but has otherwise only been lightly tested.
The patches are for the latest github version, 3.3.3-10-g87e2887, and testing was done on a Debian GNU/Linux 7.6 (wheezy).
NOTE: The patch has only been tested with Postgres and Sqlite.
Files
Updated by Koen Deforche over 10 years ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
- Target version set to 3.3.4
Roel,
Can you take a look at this?
koen
Updated by Roel Standaert over 10 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed
Actions