Posted by salvis on December 29, 2010 at 12:17am
8 followers
| 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.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| update.fetch_.inc-notice.patch | 1.23 KB | Idle | FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch update.fetch_.inc-notice.patch. | View details | Re-test |
Comments
#1
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...
#3
#4
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
#1006938: Remove PHP warnings from legacy PHP4 XML parser for new update status release history XML
#6
+1
Patch works for me.
#7
update.fetch_.inc-notice.patch queued for re-testing.
#8
The last submitted patch, update.fetch_.inc-notice.patch, failed testing.
#9
#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
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.