I am attempting to utilize conditional rendering on Mvc renderings in my Sitecore items. Regardless of the condition I select, none of the rules actually fire, including the default condition. In other words, the component always renders, whether the "Hide Component" checkbox is checked or not. My troubleshooting thus far has not revealed the root cause. Has anyone experienced this issue before?
Additional information:
- The sitecore logs do not show any errors during the authoring process or when accessing the content item from my web browser.
- I am using the out-of-the-box CustomizeRendering.Personalize processor.
- I am working with Sitecore 6.6.0-Update 4.
- Analytics is enabled.
- MVC is enabled.
- I have performed IIS resets between making changes to the conditional rendering settings to ensure that the page was not being cached.
- When trying custom conditions, I have set breakpoints in Visual Studio on the "process" method of these custom conditions. The breakpoints never hit.
- To test whether my conditions were bad, I set up a template that inherits ItemRules, and explicitly invoked RuleList<>.Run(context) in the controller. My custom conditions hit their breakpoints during this test.