Edit report at https://pear.php.net/bugs/bug.php?id=19505&edit=1

ID: 19505
Updated by: alan@roojs.com
Reported By: noel at arc2 dot co dot uk
Summary: Upgrading from 1.7.15 to 1.10.0 causes error due to
no links file
Status: Closed
Type: Bug
Package: DB_DataObject
Operating System: OSX 10.6.8
Package Version: 1.10.0
PHP Version: 5.3.8
Assigned To: alan_k
Roadmap Versions:
New Comment:

This really needs a test case.

Looking at the code now - I'm supprised that proxy=1 would work, as
factory calls
Generatory::getProxy{ proxy option }()

Previous Comments:

[2013-03-25 14:01:46] noeldc

I've tried this again recently in a bit more depth. While the proxy only
seems now to work if I set it to "full" rather than to "1" – it is
only actually working for getting the table information. Setter methods
in the dataobject won't run at all.

So for example, I have proxy = full and the following code:

$person = DB_DataObject::factory('person');

When I var_dump $person it shows no value for company property. Also if
I go in an put debug code into the setPerson() method in the Company
DataObject, it doesn't run. So it seems like the setters do not work
when running with the proxy.

It all still works fine on v1.7.15


[2012-07-18 17:58:50] alan_k

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: alan_k
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.


[2012-07-12 10:32:54] noeldc

OK never mind. Was getting confused between two code-bases. Setting
proxy = 1 does work.



[2012-07-12 10:26:39] noeldc

What variable must I var_dump?


[2012-07-12 10:23:21] alan_k

I've tested it here with tests/bug6953.php

Seems to work fine - it looks like it's not picking up your proxy

try var_Dump'ing the value near line 1981 to check that it's trying to
use the


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
postedApr 3, '13 at 9:20a
activeApr 3, '13 at 9:20a

1 user in discussion

Alan: 1 post



site design / logo © 2022 Grokbase