midgardproject / midgard-php5

PHP5 API for Midgard persistent storage framework
http://www.midgard-project.org/api-docs/midgard/php/ratatoskr/
GNU Lesser General Public License v2.1
9 stars 2 forks source link

Segfault when instantiating Query Builder #87

Open bergie opened 12 years ago

bergie commented 12 years ago

When you instantiate Query Builder for objects that don't have metadata, and use include_deleted(), Midgard2 crashes.

Backtrace: https://friendpaste.com/rGwSwfqwMuEy3tBc86o8o

See the PHP workaround: https://github.com/nemein/openpsa/commit/1ed3d7f34eacc285b496e08e401a90f8c0c99c23