Closed Yugloocamai closed 5 years ago
The method is implemented in yii\base\Model
, from which the craft\googlecloud\Volume
inherits it.
It looks like the validation error is actually Bucket cannot be blank.
, but the toast message on the front end is just Couldn’t save volume.
I think the real issue here might just be messaging.
Ah, nice find! Fixed for next release.
I'm not sure how this plugin can work with Craft without a validate method. It does not work for me. When Craft3 calls
saveVolume
, it calls the validation method which will always return null since the method is not implemented. Perhaps Craft3 added that step recently?