silverstripe-asset-admin icon indicating copy to clipboard operation
silverstripe-asset-admin copied to clipboard

NEW: Add extension hook for field-specific validation

Open lozcalver opened this issue 3 years ago • 2 comments

Depends on https://github.com/silverstripe/silverstripe-framework/pull/10569

lozcalver avatar Nov 04 '22 12:11 lozcalver

Would I need to update composer.json to "silverstripe/framework": "^4.12" as part of this? I seem to remember we used to do that automatically for minor releases, but I think that stopped?

lozcalver avatar Nov 09 '22 09:11 lozcalver

Would I need to update composer.json to "silverstripe/framework": "^4.12" as part of this? I seem to remember we used to do that automatically for minor releases, but I think that stopped?

That would be my expectation to require a version that introduced what's used here, unless we update this PR to include a $this->hasMethod('extendValidationResult') check.

michalkleiner avatar Nov 09 '22 09:11 michalkleiner

Removed the composer.json update as both PRs are now targeting 5.0.0

lozcalver avatar Jan 19 '23 15:01 lozcalver

Rebased on top of 2.0 to get rid of the unrelated CI failures.

GuySartorelli avatar Feb 20 '23 20:02 GuySartorelli