field_attach_update() causes OG memberships to be deleted upon user signup

Created on 2 March 2012, over 12 years ago
Updated 3 June 2024, 6 months ago

I'm conflicted as to where to post this issue. I've tracked it down to a line of code in filefield_paths, but this may be an OG specific issue.

On a fresh install, I have found that when filefield_paths (7.x-1.x-dev) is enabled that my group audience field does not keep it's value. So, if I set the audience of a post to "Group1" and save it the group audience remains empty.

I've tracked it down to...

filefield_paths.module line 260 

field_attach_update($type, $entity);

If I comment this line out the group data is saved.

I also tested just a simple entity reference field to see if it was an issue with entity_reference and found everything working as intended.

🐛 Bug report
Status

Needs work

Version

2.0

Component

og.module

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024