Closed (fixed)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2012 at 22:07 UTC
Updated:
8 Jun 2012 at 17:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
alexweber commentedPatch attached.
Comment #2
mitchell commentedPatch applies cleanly and the property is available, but Rules doesn't behave as expected.
With this rule:
I get an error: "Notice: Undefined index: custom translation language in RulesDataUI::selectionForm() (line 73 of sites/all/modules/rules/ui/ui.data.inc)", and the theme name doesn't appear in the system message. With [account:name], the message is displayed properly.
Comment #3
alexweber commentedI overlooked this, Views integration might be broken too now that I think of it...
Reroll tonight when i get a chance!
Comment #4
alexweber commentedNothing was being displayed because in most cases the user's default theme is actually empty, and falls back to the site's default theme.
I've updated the patch to reflect that.
Comment #5
fagothanks, the default value for the theme_default (bartik) was missing. I've added + removed the unnecessary translatable key + committed it.
Comment #6
alexweber commentedAwesome!
Comment #7
mitchell commentedthx fago! thx alexweber!
While testing the patch, I realized... this solves #1344348: Port Theme Rules to D7 too!!
...Entity API + Rules... what an amazing combination!