• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Won't Fix
  • teck
  • Reporter:
  • October 28, 2010
  • 0
  • Watchers: 1
  • February 14, 2011
  • November 03, 2010

Description

This test fails:

@Test public void testIncludeValuesSpecified() {

    Attribute<Integer> age = cache.getSearchAttribute("age");
    Results results = cache.createQuery().add(age.eq(35)).execute();
    assertTrue(2 == results.size());
    for (Result result : results.all()) {
            LOG.info("" + result.getValue());
    }
}

It should work. It is in QueryExamplesTest in trunk

Comments

gluck 2010-11-03

We are no longer doing Result.getValue() which now makes this JIRA redundant.

Kalai Kannaiyan 2011-02-03

Verified with 3.5.0RC1 Terracotta Enterprise 3.5.0-SNAPSHOT, as of 20110131-230113 (Revision 10085-17085 by [email protected] from 3.5), result.getValue() will work with includeValues()