Hi,
I can't edit an existing application under admin/build/fb because after I click on save it gives "The label [Label of the application] is in use by another application."

Comments

adub’s picture

Ditto. Using patched beta 8. (Also don't know if related but previously checked fb connect primary setting isn't selected on the edit form.)

Dave Cohen’s picture

Assigned: Unassigned » Dave Cohen
Status: Active » Needs review

This was sloppy on my part. I thought the fix was in beta9 and that's one reason I made it beta9.

Here's a patch I will check in shortly.


Index: fb_app.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fb/fb_app.admin.inc,v
retrieving revision 1.7
diff -r1.7 fb_app.admin.inc
176c176,177
<     if ($app->label == $fb_app->label && $app->fba_id != $fb_app->fba_id) {
---
>     if ($app->label == $fb_app->label &&
>         (!isset($form['#fb_app']) || $form['#fb_app']->label != $fb_app->label)) {
stieglitz’s picture

solved the problem with my install

TyraelTLK’s picture

No more Label error but now it gives
Failed to get application properties (MYAPPLICATIONLABEL) from Facebook: Incorrect signature 104
but I'm editing the application beacuse I have reset the secret key on facebook.

Dave Cohen’s picture

Status: Needs review » Fixed

TyraelTLK, I don't know why you're getting that error, but I don't think its related to this issue. Please open a new issue if it persists.

I submitted the earlier patch.

Status: Fixed » Closed (fixed)

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