Preview Targets are empty upgrading Craft Solo to Craft Pro
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
When upgrading Craft from Solo to Pro, preview mode stops working everywhere because Preview Targets across all sections are empty:
I’ve been able to manually revisit each section and create a new Preview Target, copying the Section’s URI setting into the Preview Target’s URL Format field.
I would have expected the edition upgrade to automatically set an equivalent Preview Target so that entry previews continue to work without any need for intervention.
Reactivating Solo restores preview functionality.
Steps to reproduce
- Set up Craft Solo and add any kind of section with a working template.
- Visit a section entry and observe that preview works as expected.
- Upgrade Craft Solo to Craft Pro.
- Revisit the entry from step 2 and observe that preview no longer works.
- Visit that section’s settings and observe that the Preview Targets table has no rows.
Additional info
Craft version: 3.4.10.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Solo-to-Pro upgrade using the listed Craft 3.4.10.1 steps, then inspect the section settings and Preview Targets behavior before and after the edition change. Done means existing section URI settings produce equivalent Preview Targets after upgrading, and entry previews continue to work without manually recreating targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100