Message of the day:
Security release 4.4.4 is out. Changelog: https://github.com/silverstripe/silverstripe-framework/blob/4/docs/en/04_Changelogs/4.4.4.md
SilverStripe 4 related information and questions.
but why test something that would never be used?
Is there a way, in a functional test, to send a get request to a controller without predefined routes? Let's say I have a module only containing VerificationController.php and there are no routes set in the config.yml, how would I test requests for the controller?
@Pawel Cholaj has joined the channel
Well it looks like it's working 🙂
I’ve not tested that though, so it may not work 🙂
In theory, you could pass a source like
- 'key' => DBField::create_field('HTMLFragment', '<strong>something bold</strong>')
Hey everyone. Does anyone know if there is a possibility to add html tags in the $source of an OptionsetField ?
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ASC AS "_SortColumn1"
Config::Inst()->get(MyClass::class, 'property'); would fail if the property didn't exist.
Oh yeah, good point about the dev build. If the table doesn't exist, return what the table should be.