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

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


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

Michal Linhard updated ISPN-1304:
---------------------------------

    Attachment: replacetest.zip


> 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
>         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