Download & Extend

$object->name should be $object->{$export['key']}

Project:Chaos tool suite (ctools)
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

In some places export.inc still refers to $object->name while not all exportable objects may have a key name at all and the key is something to be decared in $schema['export'].

In some circumstances, objects will have wrong exported states.

Rolling a patch now.

Comments

#1

Status:active» needs review

- Fixes all occurrences of $object->name . Changes them to $object->{$export['key']} .

AttachmentSize
599136-1_use_keys.patch 1.83 KB

#2

Same patch applies to D7 branch of CTools.

#3

Status:needs review» fixed

Applied to both branches. Thanks!

#4

Status:fixed» closed (fixed)

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

nobody click here