[
https://issues.apache.org/jira/browse/GEODE-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juan José Ramos Cassella reassigned GEODE-6550:
-----------------------------------------------
Assignee: Juan José Ramos Cassella
> 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
>
> The {{alter region}} command checks the nullity of the {{cache-writer}}
> parameter but, when altering the region, sets the {{cache-loader}} attribute
> instead.
> {code: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)