You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When migrating from a database with a SiteTree_versions table, the ORM will rename this to SiteTree_Versions. however, Versioned::cleanupVersionedOrphans() will attempt to run queries on this table, prior to the rename, but it does this using the incorrect case.
On case-sensitive db / filesystems, this will result in a database exception prior to the table getting renamed.
Steps to Reproduce
Install 3.x and dev/build
Update to 4.x and dev/build
Possible solutions
Run cleanupVersionedOrphans() after table rename
Make cleanupVersionedOrphans act in a case-sensitive fashion (raw queries use real case of table, not desired case).
Affected Version
4.x (all)
Description
When migrating from a database with a
SiteTree_versions
table, the ORM will rename this toSiteTree_Versions
. however, Versioned::cleanupVersionedOrphans() will attempt to run queries on this table, prior to the rename, but it does this using the incorrect case.On case-sensitive db / filesystems, this will result in a database exception prior to the table getting renamed.
Steps to Reproduce
Install 3.x and dev/build
Update to 4.x and dev/build
Possible solutions
PRs:
The text was updated successfully, but these errors were encountered: