craftercms/studio — pull request #109 by quiaro (2013-10-30 21:46:17+00:00)
Title: CRAFTERCMS-402: Change template leaves fields from previous content type in XML

The "Change Template" operation will not remove any fields
1) defined in forms
2) system fields (hard-coded in js): objectGroupId, objectId,
folder-name, createdDate & lastModifiedDate
3) any fields defined as customFields (see below) in config.xml of
each content type. removeOnChangeType = false means that the system
should not remove these fields on change template.

NAME
false

Also, the user is warned about the possibility of data loss before
carrying out the template change.