Download & Extend

General multi value support for MigrateFileField Handlers' arguments

Project:Migrate
Version:7.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Similar to #1534968: Multiple files, multiple descriptions and #1509750: Trying to map subfields (file field description) to a multi-value file field, I had trouble to import multiple images to a node's image field. In my case I need a different destination_dir for each single file. The current implementation only supports multiple values for 'alt' and 'title' of an imagefield. The same functionality could be provided for file fields in general by simply check on arrays in the arguments.

I'll provide a patch in the first comment (to get the issue number). I'd would be great someone could review that.

Comments

#1

Status:active» needs review

And there is the patch. Thanks for a review;)

AttachmentSizeStatusTest resultOperations
migrate_filefield_multivalue_arguments-1688312-1.patch1.96 KBIdlePASSED: [[SimpleTest]]: [MySQL] 148 pass(es).View details

#2

Status:needs review» fixed

Committed, thanks!

#3

Status:fixed» closed (fixed)

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

nobody click here