[infinispan-issues] [JBoss JIRA] Created: (ISPN-1304) QueryInterceptor incorrectly handles replace command

Michal Linhard (JIRA) jira-events at lists.jboss.org
Wed Aug 3 09:44:06 EDT 2011


QueryInterceptor incorrectly handles replace command
----------------------------------------------------

                 Key: ISPN-1304
                 URL: https://issues.jboss.org/browse/ISPN-1304
             Project: Infinispan
          Issue Type: Bug
          Components: Querying
    Affects Versions: 5.0.0.CR8
            Reporter: Michal Linhard
            Assignee: Manik Surtani


org.infinispan.query.backend.QueryInterceptor.visitReplaceCommand() wrongly interprets field ReplaceCommand.oldValue as always present oldValue, but this field serves only for execution of conditional replace.

this leads to failure during replace when using searchable cache.

ReplaceCommand.oldValue is probably not well suited name for the field

test case project attached.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list