midgardproject/midgard-core — Issue #128: Segfault when listing properties of mixins
Author: bergie
Created: 2011-11-17 17:16:22+00:00
State: open

With mixin:

STRING
false
false
false
false

STRING
false
false
false
false

This mixin node type can be used to add standardized title and description properties to a node.

true

false
false
false
false

The following code:

read_file_at_path('/tmp/Midgard2CR/share/midgard2.conf');
$mgd = midgard_connection::get_instance();
$mgd->open_config($cfg);
midgard_reflector_object::list_defined_properties('mix_title');

causes a segfault:

$ php tmp.php
Segmentation fault

Backtrace in http://friendpaste.com/422XTyQpaRsutWBkyYx5qn