creocoder / yii2-nested-sets

The nested sets behavior for the Yii framework.
Other
446 stars 129 forks source link

Multiple addition to $_cached. #21

Closed juffin-halli closed 9 years ago

juffin-halli commented 10 years ago

Owner added to $_cached first time after attaching behavior (ensureBevaviors calls $behavior->attach) and second time by processing aterFind event. Is it correct? There is another issue https://github.com/creocoder/yii2-nested-set-behavior/issues/19 - may be it's caused by second cache correction?

creocoder commented 9 years ago

There is no more internal cache inside behavior for Yii 2 release version. Cache is planned like external depency for release version.