diff --git a/CHANGELOG.md b/CHANGELOG.md index ff2eeee..d67337d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.3.1 + +* [#11](https://github.com/pixl8/cbjgroups/issues/11) Fix issue where app context is missing when running logic when cluster membership changes + + ## 0.3.0 * [#9](https://github.com/pixl8/cbjgroups/issues/9) Add method on cluster to determine whether or not this member is the coordinator diff --git a/models/CbJGroupsCluster.cfc b/models/CbJGroupsCluster.cfc index b8c2ea9..5f96f40 100644 --- a/models/CbJGroupsCluster.cfc +++ b/models/CbJGroupsCluster.cfc @@ -164,6 +164,7 @@ component { * */ public void function viewAccepted( required any view ) { + _setupApplicationContext(); _announceInterception( "onJgroupsClusterMemberChange", { view=arguments.view } ); }