codemix / codemix/YiiElasticSearch

Behaviors doesn't work

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I have fetched data succesfully from elastic search and add behavior funciton in my model like this:(DbBaseModel has extended CActiveRecord)
![image](https://cloud.githubusercontent.com/assets/9854594/24456982/4d065b00-14c7-11e7-83bc-a8da6642cabc.png)
but after I save data,it hasn't been inserted into elastic search.
![image](https://cloud.githubusercontent.com/assets/9854594/24457104/c615b298-14c7-11e7-9400-ce3771f57b37.png)
I debug and find the below function hasn't been executed,so what should I do?
![image](https://cloud.githubusercontent.com/assets/9854594/24457251/3a1b21a0-14c8-11e7-8268-e69ad5980680.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.