Closed (fixed)
Project:
Services
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Dec 2010 at 13:31 UTC
Updated:
30 Jun 2011 at 21:40 UTC
Jump to comment: Most recent file
Hello,
When I try to edit a key, I get this error message.
Domain @domain already exists.
I tried adding some services but no luck.
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | scr_keyauth.jpg | 42.08 KB | greta_drupal |
| #17 | scr_services.jpg | 16.78 KB | greta_drupal |
| #13 | services-988958.patch.txt | 2.07 KB | kylebrowning |
| #6 | services-988958.patch | 2.07 KB | marcingy |
Comments
Comment #1
giorgio79 commentedThis happens when I enter the domain like this
http://www.domain.com
instead of
www.domain.com
Comment #2
marcingy commentedDo you have the domain defined more than once with a key?
Comment #3
giorgio79 commentedNope, just that single key.
Comment #4
jan_v commentedSame problem here.
(version 6.x-2.3)
a non-drupal way to add new services to existing keys: add record in table "services_key_permissions", untill there is a nice 'n clean solution for this :-)
Comment #5
marcingy commentedHas clicked what is going on will work on patch later.
Comment #6
marcingy commentedThis should fix the problem.
Comment #8
marcingy commentedhmm
Comment #9
marcingy commented#6: services-988958.patch queued for re-testing.
Comment #10
jan_v commentedwow, that's quick :)
Comment #11
kylebrowning commentedJan_v, does this patch fix the issue?
Comment #12
jan_v commentedThis patch didn't work, but found why:
change
+ $domain = isset($key->domain) ? $key->domain : '',
to
+ $domain = isset($key->domain) ? $key->domain : '';
With this change, the patch works.
Comment #13
kylebrowning commentedHeres updated patch, but ive committed this so marking as fixed.
Comment #14
jan_v commentedok, thanks.
Comment #16
syakely commentedThanks! kylebrowning
Comment #17
greta_drupal commentedDon't have this file or even subfolder: auth/services_keyauth/services_keyauth.admin.inc
Only subfolders oauth and sessauth. And, I do have Key Authentication enabled in the modules...Services version 6.x-2.4.
Please advise.
see attachments.
Comment #18
greta_drupal commentedWas showing on one installation but not on the other. I uninstalled and reinstalled. Now see the folder/file.