Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2738

Invalid byte code enhancement for Ognl in statement

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.1.6
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      java 1.5

      Description

      If you have a page with a property
      <property name="greetings" initial-value="ognl:

      {'hello', 'goodbye'}

      "/>
      and an If component
      <span jwcid="@If" condition="ognl:'hello' in greetings">
      Condition works but check logs for error log.
      </span>
      You get the error 'SEVERE: Error generating OGNL getter for expression "hello" in greetings with root $BasePage_0@3c1[OgnlInTest] and body:

      { return ($w) ((($BasePage_0)$2).ognl.OgnlOps.in( ($w) "hello", ($w) (($BasePage_0)$2).getGreetings()));}

      ' in the logs

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hkelsey howard kelsey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: