[ https://issues.apache.org/jira/browse/GEODE-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Murmann updated GEODE-6550: ------------------------------------- Fix Version/s: (was: 1.9.0) 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)