Project

General

Profile

Bug #3511

Dbo ptr_tuples containing dbo ptr objects without versionFields can fail

Added by Bruce Toll almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
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

#1

Updated by Koen Deforche almost 8 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

#2

Updated by Roel Standaert almost 8 years ago

  • Status changed from InProgress to Resolved
#3

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF