Message of the day:
Release 4.5.1 is out. Changelog: https://docs.silverstripe.org/en/4/changelogs/4.5.1
SilverStripe 4 related information and questions.
Where does this sit?
is this usually .upgrade.yml?
you need to provide a mapping yaml from the legacy classes to the new classes for the build system to pick it up and update your db records
Hi all, I've just moved a site from ss3 to ss4. The upgrade appears to have gone ok and I have namespaced all of my classes. Now for certain existing objects when I try and save them I get this error: "Object is of class 'CaseStudyPageSection' which doesn't exist - you need to change the ClassName before you can write it". I can create new objects and save them, but existing ones dont save. I assume as the new class name for the object now includes my new namespace "App\Website" so instead of just being CaseStudyPageSection it is now App\Website\CaseStudyPageSection and it cant find it to save. is there a way to update the existing records to the new class name?
there were quite substantial fixes to the file migration in 4.3 and some in 4.4, I strongly recommend update to the latest and then run the migration
There's only the default admin on this site and no playing around with privacy settings
Not the latest, it's on version 4.2. File names doesn't seem to be it as "20181030_071032.jpg" works and "20190516_123615.jpg" is broken. Filesizes of working files vary widely (13kb - 8MB)
double dots in filenames? 10 character long names? are you on latest 4.4.4 and latest asset-admin?
file size? file extension/type? CMS owner? Privacy settings in the CMS?