See attached screenshot.

The fields attached to the privatemsg_message entity are added as properties of the bundle (which has the same name, there is only a single bundle for now).

Now, the trick question is, what do I need to do to have access to these properties? How do I tell rules that this is the privatemsg_message bundle? Shouldn't it be automatically using that given that there is only a single one?

CommentFileSizeAuthor
#1 privatemsg_message.png66.19 KBberdir

Comments

berdir’s picture

Component: Rules Core » Rules Engine
StatusFileSize
new66.19 KB

Now with screenshot ;)

BenK’s picture

Tracking this thread...

fago’s picture

Status: Active » Fixed

>Shouldn't it be automatically using that given that there is only a single one?

Indeed it should, but I guess we should fix this on the Entity-Metadata level. As of now it doesn't handle the single-bundle case separately. For now if you specify 'bundle' => 'foo' in the Rules variable info you can test it.

Opened #909732: Automatically use the default bundle for that.

Status: Fixed » Closed (fixed)

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