Bug description
In collections using multiple blueprints as well as a custom entry class, localizing an entry assigns the wrong blueprint. The collection's default blueprint is assigned, ignoring the origin entry's blueprint.
How to reproduce
- Open a multisite installation
- Create a multisite collection, e.g.
pages, with:
- two distinct blueprints, e.g.
page (default) and artist_list - A custom
entry_class
- Create a new entry using the non-default blueprint (
artist_list) - Localize the entry via the control panel
- It now has the collection's default blueprint (
page), not the origin's blueprint (artist_list)
Logs
Environment
EnvironmentLaravel Version: 13.20.0PHP Version: 8.4.20Composer Version: 2.8.3Environment: localDebug Mode: ENABLEDMaintenance Mode: OFFTimezone: Europe/ViennaLocale: enCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: fileDatabase: sqliteLogs: stack / dailyMail: logQueue: databaseSession: fileStoragepublic/storage: NOT LINKEDStatamicAddons: 11License Key: Not setSites: 2 (DE, EN)Stache Watcher: EnabledStatic Caching: DisabledVersion: 6.24.2 PROStatamic Eloquent DriverAddon Settings: eloquentAsset Containers: fileAssets: eloquentBlueprints: fileCollection Trees: eloquentCollections: fileEntries: eloquentFieldsets: fileForm Submissions: eloquentForms: fileGlobal Sets: fileGlobal Variables: eloquentNavigation Trees: eloquentNavigations: fileRevisions: eloquentSites: fileTaxonomies: fileTerms: eloquentTokens: eloquent
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
Bug description
In collections using multiple blueprints as well as a custom entry class, localizing an entry assigns the wrong blueprint. The collection's default blueprint is assigned, ignoring the origin entry's blueprint.
How to reproduce
pages, with:page(default) andartist_listentry_classartist_list)page), not the origin's blueprint (artist_list)Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response