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

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Fri Aug 5 07:49:31 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero updated ISPN-1304:
----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/498


> 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: Sanne Grinovero
>         Attachments: replacetest.zip
>
>
> 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