Download & Extend

Sensible default when converting between types with common fields

Project:Node Convert
Version:6.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

A field can be shared between multiple content types. When a node is converted to another content type that has some of the same fields, it should use the source field as the destination field by default.

The attached patch accomplishes this by setting the source field name as the default value for the destination field select list. If the source field is not available as an option, Drupal ignores it and behaves as though no default were set.

AttachmentSize
convert_template_default_to_same_field.patch925 bytes

Comments

#1

Status:needs review» fixed

Thanks, fixed in DEV.

#2

Status:fixed» closed (fixed)

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