CommonDetailModel::save triggered twice #2

Closed
jadb opened this Issue Feb 28, 2014 · 0 comments

Projects

None yet

1 participant

@jadb
Gourmet member

If model User acts as Detailable and needs to User::saveAll - the CommonDetailModel::save gets triggered twice, in:

  • DetailableBehavior::afterSave
  • User::saveAssociated

Furthermore, when validation is not disabled in User::saveAll, the Model::validateMany breaks the DetailModel data.

@jadb jadb added the bug label Feb 28, 2014
@jadb jadb self-assigned this Feb 28, 2014
@jadb jadb closed this in 14f01d9 Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment