Import/export terms with uuid

Created on 14 July 2015, over 9 years ago
Updated 17 January 2023, almost 2 years ago

Hi, Matthias.

Problem/motivation
I faced with a task to migrate a big taxonomy vocabulary (over 4000 terms) from site A to site B and I needed to keep the same term UUIDs. I tried to use uuid_features and it works fine, but if create feature with this big vocabulary it crashes with PDO exception (because features try to add too long string in 'system' table). But your module works fine with big vocabularies import/export, but not works with uuids.

Solution/suggestion
This patch provides possibility to export and import terms with uuid.

How it works:

  • Export: if there is installed and enabled uuid module on the site then on taxonomy manager's export form will be checkbox 'Export terms with uuid'. It works with all of export formats (CSV and term names)
  • Import: if there is installed and enabled uuid module on the site then on taxonomy manager's import form will be checkbox 'Import terms with uuid'. So you can enter term names with uuid like a "name|uuid"

I hope it useful functionality and will be helpful for other developers and site builders)

Can you review this patch please?

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024