Skip to content

Composite primary key in Post-model #22

@sidanval

Description

@sidanval

Hi.
My post-model::primaryKey() returns ['id', 'version'].
And thus in the TaggableBehavior[:177] rows are of the form array:

Array
(
    [0] => Array
        (
            [0] => Array
                (
                    [id] => 1
                    [version] => 0
                )

            [1] => 6
        )
)

Similarly this is to remove the tags.
What can be done?
Only override methods of afterSave and beforeDelete?

Update: override as I understand it does not help - private $_tagValues; :(

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions