Posted by agentrickard on October 16, 2009 at 4:35pm
| 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.
#2
Thanks agentrickard. Patch applied to 6.x branch.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.