Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

CommonDetailModel::save triggered twice #2

Closed
jadb opened this Issue · 0 comments

1 participant

Jad Bitar
Jad Bitar
Owner

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.

Jad Bitar jadb added the bug label
Jad Bitar jadb self-assigned this
Jad Bitar jadb closed this in 14f01d9
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.