Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
If you add apostrophes around it, does it help?
Hey, I'm having an issue where adding
After: #adminroutes in a custom routes.yml file is breaking the asset-admin module with errors:
GET http://localhost:8080/admin/graphql/types 404 (Not Found) and
GET http://localhost:8080/assets/admin.types.graphql 404 (Not Found). Removing
#adminroutes fixes the error but breaks all admin routes because I'm overriding the base route (ie:
'': 'My\Custom\Controller) -- framework v4.4.4
We used populate and it’s good. One caveat is that it doesn’t do partial data merges, i.e. if you populate some fields manually, it overrides them. Could be a nice addition to the module to check for data in fields and define a resolution strategy (keep, override, skip etc)
@guci0 there’s a couple modules to populate default data i.e https://github.com/dnadesign/silverstripe-populate
ok, drop database works 🙂
Hello, is possible to force "pre-defined default data for your project" _config/default-records.yml after first build?
They'd usually only show up when something is changed (eg. objects or page classes are added)
Not really. They're informational messages