Project

General

Profile

Actions

Bug #3511

closed

Dbo ptr_tuples containing dbo ptr objects without versionFields can fail

Added by Bruce Toll over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
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

Actions #1

Updated by Koen Deforche over 9 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

Actions #2

Updated by Roel Standaert over 9 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF