Download & Extend

notice: Undefined index: in end() (line 257 of drupal-6\modules\update\update.fetch.inc).

Project:Drupal core
Version:6.22
Component:update.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

$this->current_tag can be empty.

The attached patch fixes the notice.

AttachmentSizeStatusTest resultOperations
update.fetch_.inc-notice.patch1.23 KBIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch update.fetch_.inc-notice.patch.View details | Re-test

Comments

#1

Status:needs review» needs work

The last submitted patch, update.fetch_.inc-notice.patch, failed testing.

#2

Another D6 patch that fails to apply. Do I need to add "-D6" to its filename?

Same patch renamed...

AttachmentSizeStatusTest resultOperations
update.fetch_.inc-notice.1009376-D6.patch1.23 KBIgnored: Check issue status.NoneNone

#3

Status:needs work» needs review

#4

Version:6.x-dev» 6.20
Assigned to:Anonymous» cmysite

Notice: "Undefined index: in update_xml_parser->end() (line 257 of ... drupal\modules\update\update.fetch.inc)."
Enables simpletest 6.x-2.11 module also posible to bring this notices when core module: Update Status enabled.

#5

Assigned to:cmysite» Anonymous
Status:needs review» closed (duplicate)

#1006938: Remove PHP warnings from legacy PHP4 XML parser for new update status release history XML

#6

+1
Patch works for me.

#7

Status:closed (duplicate)» needs review

update.fetch_.inc-notice.patch queued for re-testing.

#8

Status:needs review» needs work

The last submitted patch, update.fetch_.inc-notice.patch, failed testing.

#9

Status:needs work» closed (duplicate)

#10

Using 6.23-dev...

I am getting numerous instances of this:
"WD php: Undefined index: in /var/www/mysite.com/modules/update/update.fetch.inc on line 256."
when I run drush from here:
/home/myuser/www/mysite.com/sites/all/modules

I should note that www at /home/myuser/www is actually a symlink for /var/www.
However when I run drush from:
/var/www/mysite.com/sites/all/modules
all the errors disappear.
This may offer a clue as to why this is happening for some users in core on some installations.

I hope this helps.

#11

Version:6.20» 6.22

It worked for me too exactly as it says. Thanks.

#12

#2 worked for me. Thanks

#13

Note: this issue is closed. Please stop replying here. If you have anything to add, it belongs at #1006938: Remove PHP warnings from legacy PHP4 XML parser for new update status release history XML. Thanks.