Project:Joomla to Drupal
Version:6.x-1.0-alpha3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

It may be that I am doing an import from an old Joomla version, but its {categories}.section column contains some non-integers (like com_glossary).

These do not map to {sections} and create term entries with vid = 0. This patch skips those entries.

Comments

#1

The patch also moves the $section_vocabulary_map[$section->id] = $vocabulary->vid; routine out of the drupal_write_record loop, so it is present in either case.

AttachmentSize
606556-sections.patch 1.02 KB

#2

Status:needs review» fixed

Thanks agentrickard. Patch applied to 6.x branch.

#3

Status:fixed» closed (fixed)

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

nobody click here