dorsetdigital

I've got one which imports stuff from a different database in a build task... I just wrote some PDO queries for that and used the ORM for the import side

wmk

I inherited a project that has some mysql_* methods for exporting and importing data (incl. some relations). I guess I should rewrite that with SQLSelect statements if I cannot transform the queries to use the ORM directly?

Mo

Basically if you attach a validator to a form, SS checks the validator before handling the forms action, so at the point the validator is loaded, it is unaware what "action" you want to perform

Mo

@rasmniel From memory SS3 did this as well, I think it is just because every form submission calls the attached validator

rasmniel

Is it by design that SilverStripe (4.2 at least) validates a DataObject when deleting, resulting in a failed deletion if a required field is missing? And if yes, why? 🤔

🤔 (1)
wmk

you should test it with travis or circleCI... then you get nice explosion mails