Archivable & concrete inheritance issue: archive table missing descendant_class column. #278

Open
scepticalcat opened this Issue Feb 2, 2012 · 0 comments

Projects

None yet

1 participant

@scepticalcat
asset:
  _propel_behaviors:
    archivable: ~
  id:              ~
  filename: ~

typed_asset:
  _propel_behaviors:
    concrete_inheritance: { extends: asset }
  title: ~

sub_typed_asset:
  _propel_behaviors:
    concrete_inheritance: { extends: typed_asset }
  sub_title: ~

Using the above structure, were you to call $sub_typed_asset->delete() you would receive "Call to undefined method: setDescendantClass" from line 1317 of the BaseObjectClass as the typed_asset_archive table does NOT have a descendant_class column & hence has no setDescendantClass method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment