madmatt / silverstripe-encrypt-at-rest

Encrypt data at rest in your database
7 stars 11 forks source link

Fix notice during /dev/build when EncryotedDataObjectFieldsExtension-… #11

Closed Taitava closed 8 years ago

Taitava commented 8 years ago

…>owner is not defined

Running /dev/build?flush=all in SilverStripe 3.1.18 raised the following notice: "[Notice] Trying to get property of non-object", relating to $this->owner->ClassName on line 84.

I do not know how the allMethodNames() method is used by SilverStripe, but this seems to fix the notice.

Firesphere commented 8 years ago

Hi @Taitava,

The module requires SilverStripe 3.4 or higher to work. Which is something that's missing from the composer and description, as it's not on stable release yet.