I was looking to use OAuth, but the module requires oauth_common. When I look at the that module's page http://drupal.org/project/oauth_common it says it has moved to OAuth. Is the dependency in services_oauth.info or ? Not really sure if this is a bug or the module is not ready for 7.x-3.

Comments

marcingy’s picture

Status: Active » Closed (works as designed)

Oauth common is still a module un the OAuth project.

RobKoberg’s picture

Ah, OK. Perhaps the oauth project should be listed as a dependency too, since you need it? My thinking was that oauth_common was now oauth after reading:

"Version 3.x is an entirely new module, previously known as OAuth Common, that takes an extended approach to dealing with OAuth. Not compatible with older versions of the OAuth module."

from the oauth project page, and the dependency in services was not up to date (which was kind of troubling). There is nothing readily apparent saying there is a subproject named oauth_common inside oauth. It is unnecessarily confusing, imo. Maybe it is just me.

Damien Tournoud’s picture

Title: oauth_common is a dependency, but is obsolete and doesn't have a distro » Consider adding an empty oauth module that just depends on oauth_common
Project: Services » OAuth 1.0
Category: bug » feature
Status: Closed (works as designed) » Active

I agree. Let's add a empty OAuth module that just depends on OAuth Common.

RobKoberg’s picture

For some context, I posted this issue under the services module issue queue. It probably isn't clear from my messages that this was the context when I posted.

marciuz’s picture

Please do it.
Now it's impossible to create a module with a dependence from OAuth module: if you add oauth_common as dependence the system look for the obsolete oauth_common. If you add as dependence oauth the module is correctly downloaded but is not finded (and the system try to download it in a infinite loop).

Anonymous’s picture

Issue summary: View changes

Hi. The last comment to this issue is older than a year. I just finished my first clean drupal installation and would like to use oauth but failed to instal the module, as it requires oaut_common, which I cannot install. Is this module broken (like so many other I came across)?!

Maybe someone found a workaround (or another module that works)?

Pere Orga’s picture

Component: Miscellaneous » Code

Meanwhile, now probably the best way to add a dependency to that module is:

dependencies[] = oauth:oauth_common

(from change record https://www.drupal.org/node/2299747)