Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
scepticalcat opened this Issue · 0 comments

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
Something went wrong with that request. Please try again.