patch to upgrade to D6

dman - January 7, 2008 - 13:13
Project:Taxonomy import/export via XML
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Attached is an attempt at a D6 upgrade.
It's my first go at D6, so I may have missed something, but it did enable me to take an XML dump from a D5 and import it into a new D6 site. Which was what counts.

I want to rearrange the Drupal-5 branch before really upgrading everything, so treat this as an interim patch you can use if you want the functionality now

AttachmentSize
taxonomy_xml_drupal-6.patch7.02 KB

#1

dman - January 21, 2008 - 15:24

ping

#2

NancyDru - March 4, 2008 - 02:09

Well, you hit more lines than I did before I found this one. But I do think you missed one:

    if ($vid && $retrieved = module_invoke('taxonomy', 'get_vocabulary', $vid)) {

taxonomy_get_vocabulary (I have no idea why this is coded this way, rather than a direct call) is now taxonomy_vocabulary_load.
    if ($vid && $retrieved = module_invoke('taxonomy', 'vocabulary_load', $vid)) {

If you're interested in comparing, here's the patch I was going to submit.

AttachmentSize
taxonomy_xml_6.patch 5.76 KB

#3

dman - March 4, 2008 - 06:48

Fair enough, I didn't check for actual API changes ... there's a lot of them I haven't encountered I guess.
I just did the ones I could see.
Whatever goes.

#4

NancyDru - March 4, 2008 - 12:49

Well, you've been using this module longer than I have so I'm sure you know it better. I just recent had the need to move a couple of vocabularies from one site to another.

#5

NicolasH - April 11, 2008 - 09:47

I haven't used this patch, but there is now a D6 branch and hopefully soon a DEV release.

#6

coupet - June 30, 2008 - 14:08

I am getting the following warning on 6.x-1.x-dev afetr install

* warning: Invalid argument supplied for foreach() in /home/www/www.sitename.com/htdocs/drupal-6.2/sites/all/modules/taxonomy_xml/taxonomy_xml.module on line 228.

#7

dman - August 30, 2009 - 11:21
Status:reviewed & tested by the community» closed

issue queue cleanup

 
 

Drupal is a registered trademark of Dries Buytaert.