We're updating the issue view to help you get more done. 

Change with id query for specific id using super class doesn't work as expected

Description

gigaSpace.change(new IdQuery<>(SuperClass.class, "a"), new ChangeSet().set("foo", "c")).getNumberOfChangedEntries()); --> 0

gigaSpace.change(new IdQuery<>(SubClass.class, "a"), new ChangeSet().set("foo", "d")).getNumberOfChangedEntries()); --> 1

gigaSpace.change(new SQLQuery<>(SuperClass.class, "id like 'a'"), new ChangeSet().set("foo", "g")).getNumberOfChangedEntries() -->1

SubClass extends SuperClass, and SubClass object is written to space.
Expected behavior all changes should have worked.

Workaround

None

Acceptance Test

ChangeIdSuperTest

Status

Assignee

Unassigned

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

12487

Fix versions

None

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Open Source

Platform

All