Closed (fixed)
Project:
Entity API
Version:
7.x-1.0-beta5
Component:
Entity Metadata - main
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2010 at 15:05 UTC
Updated:
11 Jan 2011 at 17:40 UTC
I tried to install this module using this tarbal http://ftp.drupal.org/files/projects/entity-7.x-1.0-beta5.tar.gz using Drupal-7.0-RC3, but obtained the following errors:
# Notice: Undefined index: name in update_verify_update_archive() (regel 706 van /modules/update/update.module). (11 times)
# entity-7.x-1.0-beta5.tar.gz contains versions of modules or themes that are not compatible with Drupal 7.x: , , , , , , , , , ,
Major: because it blocks the usage of the Organic Groups module
Comments
Comment #1
mageonyme commented+1
Comment #2
EvanDonovan commentedLooks like this is an error with the Update Manager in D7. Could you try installing the old-school way, and see if the same occurs?
Also, @mageonyme, what does it mean to +1 a bug report? That you are encountering it also?
Comment #3
radoeka commentedOr perhaps a packaging problem?
The update code does the following (modules/update/update.module):
If I scan for the info files I get:
sites/all/modules/entity>
entity/entity.info
entity.info
entity_token.info
entity_metadata/entity_metadata.info
tests/entity_feature.info
tests/entity_test.info
Parsing the info results at line 702 fails, it seems. Now the question is what is wrong or missing in the info files.
It shows up, but that it possible because the D7.x compatibility check is not executed.
Probably and subscribing to the issue, so he / she gets the update on this issue.
Comment #4
dwwThe problem appears to be in the entity/entity.info file. I have no idea why you left a basically empty .info file there with just a comment:
But, that's what's confusing the update manager (and probably other parts of core, too). If it's deprecated, just remove it. ;)
Comment #5
mageonyme commentedsorry
it was to subscrive to this bug report i had too...
i install with old-school way and it's ok.
thk u !
Comment #6
EvanDonovan commentedThanks, dww, for coming to check it out. I didn't think of that possibility until after posting (I haven't used the module myself, just saw this issue linked in the comments on a Drupal Planet post).
Someone care to write a patch to fix or remove the errant .info file?
Comment #7
dwwPointless to write a patch. Instead, someone with commit access should do this from a CVS checkout:
Comment #8
dwwActually, upon closer inspection, it's not the empty .info file that's the problem. See #936490-76: Update module should verify downloaded tarballs and propagate errors correctly
You probably still want to remove that .info file, but it's certainly not a major bug in entity.
Comment #9
fagoThe file was left there to ease upgrading from beta4. Anyway, I've removed it now as it caused troubles with the update-manager.