1 Reply Latest reply on Jan 26, 2008 11:21 AM by ajohnson1200

    Community Everywhere bug + workaround

      Running CS 1.10.0 on Linux.  Community Everywhere was working fine for me in a previous version, but I just noticed the following exception when I hit one of our CE-enabled pages:

       

      freemarker.core.InvalidReferenceException: Expression locked is undefined on line 342, column 38 in template/global/community-everywhere-content.ftl.

       

      The line in question in  community-everywhere-content.ftl is this:

       

      <#if showComment && !locked &&  archived>

       

      I removed the !locked:

       

      <#if showComment &&  archived>

       

      And got this:

       

      freemarker.core.InvalidReferenceException: Expression archived is undefined on line 342, column 38 in template/global/community-everywhere-content.ftl.

       

      So I removed "!archived" and CE works fine again.  The line now looks like this:

       

      <#if showComment>

       

       

       

       

      I'm not sure if this is a real bug, and this is definitely a weak workaround, but it works in my case.

       

       

       

       

       

      -Mike