cms icon indicating copy to clipboard operation
cms copied to clipboard

Live preview renders wrong view when creating entry/term

Open aerni opened this issue 2 years ago • 5 comments

Bug description

The live preview doesn't render the template view when creating an entry or term. It just renders the create view instead.

Bildschirmfoto 2022-03-17 um 10 50 35

How to reproduce

Go to the live preview while creating an entry or term.

Logs

No response

Versions

Statamic 3.3.1 Pro Laravel 8.80.0 PHP 8.0.14 aerni/advanced-seo dev-main aryehraber/statamic-impersonator 2.4.1

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

aerni avatar Mar 17 '22 17:03 aerni

Seems fine to me. Does it have anything to do with what you're working on in #5549 ?

jasonvarga avatar Mar 17 '22 18:03 jasonvarga

No it doesn't. I just whipped up a fresh site right now with the Statamic CLI. Same issue.

aerni avatar Mar 17 '22 18:03 aerni

You're right, I see the same thing on a fresh site. 👍

jasonvarga avatar Mar 17 '22 18:03 jasonvarga

Funnily enough, this happens on 3.2 too.

It's the same problem as #4966 except on 3.2 you'd get an error/blank page, and on 3.3 you get the create page.

jasonvarga avatar Mar 17 '22 19:03 jasonvarga

We see this issue in v3.3.31too. Its very confusing for the content editor, because the workflow is often edit - preview - save when good.

mmodler avatar Aug 23 '22 13:08 mmodler

Still a problem in v3.4.5.

espenlg avatar Mar 09 '23 14:03 espenlg