You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Juan José Ramos Cassella (JIRA)" <ji...@apache.org> on 2019/03/22 08:56:00 UTC

[jira] [Resolved] (GEODE-6550) AlterRegionCommand Fails to set CacheWriter

     [ https://issues.apache.org/jira/browse/GEODE-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juan José Ramos Cassella resolved GEODE-6550.
---------------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.0

> AlterRegionCommand Fails to set CacheWriter
> -------------------------------------------
>
>                 Key: GEODE-6550
>                 URL: https://issues.apache.org/jira/browse/GEODE-6550
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Juan José Ramos Cassella
>            Assignee: Juan José Ramos Cassella
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{alter region}} command checks the nullity of the {{cache-writer}} parameter but, when altering the region, sets the {{cache-loader}} attribute instead.
> {code:java|title=AlterRegionCommand.java|borderStyle=solid}
> public ResultModel alterRegion(...) {
> ...
>     if (cacheWriter != null) {
>       regionAttributesType.setCacheWriter(
>           new DeclarableType(cacheLoader.getClassName(), cacheLoader.getInitProperties()));
>     }
> ...
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)