The 6.x-2.x rc1 and dev branch (11-May-2012) report that Webforms (3.x) is missing even though it is installed. Also requires Libraries 2.x which does not seem to exist for D6.

Comments

cjeffery’s picture

I am also having this same issue, using webform 6.x-3.18.
Thank you

renderfreak’s picture

Any workarounds for this!?

hockey2112’s picture

I, too, am receiving that error even though I have webform 6.x-3.18 installed. Any fix for this?

dbassendine’s picture

StatusFileSize
new546 bytes

I'm seeing this too - the .info file syntax isn't correct. It should read:

dependencies[] = webform (>=3.x)
dependencies[] = libraries (>=2.x)

Here's a quick patch.

Thanks, David

tamerzg’s picture

There is no Libraries 2.x for Drupal 6.

wrender’s picture

Is this software actually in working status for Drupal 6 or 7? Dependencies are broken for me as well.

henrrrik’s picture

Neither the 6.x or 7.x version appears to actually use Libraries API in the code (running grep -ir "libraries" * in the hubspot folder only gives a hit on the requirements line in hubspot.info) so I assume it should just be removed.

henrrrik’s picture

There's more. D6 doesn't support version numbers in the .info, which means that the "webform (3.x)" dependency will always fail too. It also specifies "7.x" as a core dependency, so it looks like the D7 .info has been committed to the D6 branch by mistake at some point.

hockey2112’s picture

I changed the core dependency to "6.x" and removed the version numbers from the webform and libraries dependencies, and the module seems to have installed successfully. The issue I have found so far is that the link in the successful installation message on the module page points to an incorrect URL. The link in the Site Configuration menu is correct, though.

drupalninja99’s picture

@dbassendine, just to verify you have confirmed the your patch resolves the issue?

drupalninja99’s picture

StatusFileSize
new761 bytes

@dbassendine, the patch did not apply so I just re-added it myself. I gave you attribution still in the commit. This has been pushed to 6.x-2.x and is ready for testing.

mikl’s picture

#11: That's still at least somewhat wrong. You're requiring libraries 2.x, but there is no 2.x version for Drupal 6.

mikl’s picture

Additionally, the version filtering does not seem to really work. Unless I completely remove the version restrictions on both modules, I wasn't able to enable this module.

So basically, this works for me:

dependencies[] = webform
dependencies[] = libraries

UMG’s picture

Any updates on this patch? I am seeing the same error.

In the interim, recommendations on placing the code on a site without the module? Obviously, it's easy enough to paste into a php doc, but if anyone had any specific tips, that would be worthwhile.

drupalninja99’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new448 bytes

I pushed the libraries fix to 2x dev, please test

heathdutton’s picture

The version differentiating dependencies syntax is not supported in Drupal 6, so this will not work.

The lines must read:

dependencies[] = webform
dependencies[] = libraries

If you want to mandate versions before enabling the module then you'd best do that with a check inside the installation hook.

drupalninja99’s picture

I don't like version specific requirements anyway. I'd like to remove the versions for both 6x and 7x.

  • drupalninja99 committed e0061e0 on 7.x-2.x
    Issue #1619474 by drupalninja99,heathdutton: removed version numbers
    

  • drupalninja99 committed bde4890 on 6.x-2.x
    Issue #1619474 by drupalninja99,heathdutton: removed version numbers
    
drupalninja99’s picture

Status: Needs review » Fixed

Removed version numbers from both

Status: Fixed » Closed (fixed)

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