There are several issues in the queue, related with Flag 3.x compatibility.

Each one I tested had some portions were working but had something else broken.

I ended up applying those patches and testing against Drupal 7.17 and Flag 7.x-3.0-alpha4

Fixed uninstallation.
Fixed broken views handler.
...

See the other issues related with this one:

Comments

osman’s picture

Status: Active » Needs review
StatusFileSize
new30.85 KB

Attached patch is created for the 7.x-1.x branch.

socketwench’s picture

StatusFileSize
new30.67 KB

Looks great, except for some failures in the automated tests. Thankfully, it's a single line fix.

socketwench’s picture

Status: Needs review » Needs work
StatusFileSize
new29.39 KB

Scratch that. The tests were another issue.

Here's a re-roll. It blows up the tests spectacularly, so we still have a bit of work ahead of us.

Sinan Erdem’s picture

Hello and thanks for the patch on comment #3. I applied it to the latest dev version. It seems to work fine.

Just one thing: When I want to display Flag Friend link on a view, I first add a relationship: Flag Friend: friend (by any user)

Then, among those fields:

Flags: Flag link -> works
Flag friend: Flag friend links -> Doesn't work.

h3rj4n’s picture

I wasn't able to apply the patch from #3 so I rerolled the patch.

h3rj4n’s picture

A view steps I had to take to get it all working:

1. Apply the patch attached with this comment.
2. Enable the module (if you already have enabled it, uninstall it completely)
3. Enable the Friend flag on the admin page of the flag: '/admin/structure/flags'.

Now it works as it should be (I guess).

I solved the following error with this patch:
flag_friend_error.png

h3rj4n’s picture

Status: Needs work » Needs review
metroecho’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha9
StatusFileSize
new41.3 KB

First time setting this up, started with flag 7.3 had errors , then uninstalled and loaded Flag 7.2 still had errors , I uninstalled both flag and flag friend, removed them .. can see nothing in the database for flag yet I still get this none

metroecho’s picture

ok deleted some records in view that were related then extracted again Flag the Friend tab went away and when I enabled Flag Friend it looks like its working as it should be. I have no idea why the Friend tab would still show and function while the modules are not there.

socketwench’s picture

I have no idea how we're going to reroll this when https://drupal.org/node/1433122 gets in...

cromian’s picture

HI everyone is patch #6 the better option?

socketwench’s picture

@Cromian It might apply to the git version of the module. It's been a while since I've worked on this issue.

socketwench’s picture

Issue summary: View changes
Status: Needs review » Fixed

While I didn't use the patches above, I *did* fold 3.x compatibility into https://drupal.org/node/1433122

The DEV version is not compatible with Flag 3.x: http://drupalcode.org/project/flag_friend.git/commit/48d0c99

Status: Fixed » Closed (fixed)

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