Home » Database » DB_DataObject » Bug #2387
generator_exclude_regex still writes matching tables
Details
| Submitted | 2004-09-24 11:54 UTC |
|---|---|
| From | daniel at konczyk dot net |
| Status | Bogus |
| Package | DB_DataObject |
| PHP Version | 4.3.8 |
| OS | Debian GNU/Linux 3.1 |
| Roadmaps | (Not assigned) |
Comments
[2004-09-24 11:54 UTC] daniel at konczyk dot net
Description:
------------
I'm using Postgresql 7.4.5
There are 2 problems, 1 with DB itself, 1 with DataObject
DB's getListOf() returns the tables from the db WITH the postgresql internals, which are prefixed with sql_ (sql_features, sql_implementation_info)
However, those tables DO NOT exist in the database I'm working on (they exist in template1), so the Generator dies
It was ok with 7.3.4, but it seems they changed something...
I found, that I can ignore some tables by using generator_exclude_regex in generator ini file.
It works cool, Generator does not query the ignored tables, but it still writes ALL the files on the HDD (with empty columns list)
Additionally it gives the warning:
Warning: Invalid argument supplied for foreach() in (...)DB/DataObject/Generator.php on line 514
db_dataobject_generator : 0 : writing DataObjects_Sql_features
I found a similar bug but it was said it is already fixed - doesn't seem so. I'm using the latest version of DB_DataObject (not cvs)
[2004-09-24 13:03 UTC] daniel at konczyk dot net
Sorry - My fault, it was concerning the other version, it works ok now