Skip to content

template field not saved #414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HRR1337 opened this issue Mar 25, 2025 · 4 comments · Fixed by #415
Closed

template field not saved #414

HRR1337 opened this issue Mar 25, 2025 · 4 comments · Fixed by #415
Labels
bug Something isn't working

Comments

@HRR1337
Copy link

HRR1337 commented Mar 25, 2025

Bug description

Cannot save template field.

I dont know if its interested for this but I have a Multi Site Setup.

How to reproduce

  • Creating a page, save the first time the 'template' field works.
  • Try to edit the template field - > wont work. Wont save it into db json format.

Logs

Environment

Environment
Application Name: Statamic
Laravel Version: 12.3.0
PHP Version: 8.3.19
Composer Version: 2.8.6
Environment: local
Debug Mode: ENABLED
URL: fjgo.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: NOT CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 1
Sites: 98 (English, Dutch - (Nederlands), French - (Français), and 95 more)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.51.0 PRO

Statamic Addons
statamic/eloquent-driver: 4.20.2

Statamic Eloquent Driver
Asset Containers: eloquent
Assets: eloquent
Blueprints: eloquent
Collection Trees: eloquent
Collections: eloquent
Entries: eloquent
Forms: eloquent
Global Sets: eloquent
Global Variables: eloquent
Navigation Trees: eloquent
Navigations: eloquent
Revisions: file
Sites: eloquent
Taxonomies: eloquent
Terms: eloquent
Tokens: eloquent

Additional details

No response

@HRR1337 HRR1337 added the bug Something isn't working label Mar 25, 2025
@ryanmitchell
Copy link
Contributor

I've opened a PR here with the changes required #415

@ShaunWilders
Copy link

I can also confirm this bug. Creating a new page is fine, but editing and trying to change the template, it doesn't save the updated template value.

@ryanmitchell
Copy link
Contributor

ryanmitchell commented Apr 15, 2025

@ShaunWilders does this fix work for you? #415

@ShaunWilders
Copy link

@ryanmitchell it does. Just tested and the fix resolves the issue for me.

For context, we don't run multi-site, although we did set this up and then remove at one point; and we have entries and users in the database, but everything else is file based.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants