Skip to content

[5.x]: Upgrade from Craft 4 deletes all text fields #15232

@LinneaHarts

Description

@LinneaHarts

What happened?

Description

Upgrading from Craft 4.10.1, following the upgrade path, and all text fields in the CMS are empty

Steps to reproduce

  1. Starting with Craft 4.10.1, rebuild the project config, clear the cache
  2. Upgrade all of the plugins and craft version in composer.json
  3. Run composer update
  4. Set the craft db charsets to utf8mb3, etc. as noted in documentation
  5. Run php craft up
  6. Remove craft db charset settings
  7. Run php craft db/convert-charset
  8. Log in to CMS, and all text fields are empty, including in revisions

Expected behavior

Text fields should have values in them

Actual behavior

All text fields are empty

Craft CMS version

4.10.1 to 5.2.2

PHP version

8.2.18

Operating system and version

Mac

Database type and version

MariaDB

Image driver and version

No response

Installed plugins and versions

I've tried this with my full list of plugins, and also with an abbreviated list of plugins, and it's still happening, so I don't think it's a plugin problem

Plugins
CKEditor 4.1.0
Element API 4.1.0
Mix v1.7.1

Craft 5.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions