[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1304) QueryInterceptor incorrectly handles replace command
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Fri Aug 5 07:52:55 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619093#comment-12619093 ]
Sanne Grinovero commented on ISPN-1304:
---------------------------------------
Michal, thanks for the great test, that was very helpful.
> 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