Spun off from #1776238: add a flagging_save() API function, and ability to save flaggings with EntityMetadataWrapper .

If I do $flag->flag() and pass in a freshly created flagging entity (ie, created but not saved), I don't get a flagging_id set in the object. Other weird things seem to be going on too.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim’s picture

Title: passing a new $flagging entity to flag doesn't work properly » clena up passing a $flagging entity to flag()
Category: bug » task
Status: Active » Needs review
Issue tags: -7.x-3.0 release blocker
FileSize
1.88 KB

Not as bad as I thought -- my test code was at fault. *sigh*

Still worth a clean-up though.

joachim’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.