Make WordPress Core

Opened 6 weeks ago

Closed 11 days ago

#63392 closed defect (bug) (worksforme)

Anteprima da editor articolo

Reported by: samdalex's profile samdalex Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.8
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

Dall'editor dell'articolo nel momento in cui si vuole vedere l'anteprima attraverso la voce del menu "anteprima in una nuova scheda" si genera un errore 404, se invece si apre direttamente il link della voce direttamente sul browser è tutto regolare.
Ho notato che cliccando sulla voce direttamente si effettua un salvataggio e quindi nella nuova tab aperta per la visualizzazione genera un errore 404 dovuto a mio avviso al fatto che tale apertura avviene durante l'azione di salvataggio.

Attachments (1)

Video del 2025-05-05 08-55-15.mp4 (1.4 MB) - added by samdalex 6 weeks ago.
Video dell'errore 404 generato

Download all attachments as: .zip

Change History (6)

#1 @mukesh27
6 weeks ago

  • Focuses performance removed
  • Keywords needs-testing added

@samdalex
6 weeks ago

Video dell'errore 404 generato

#2 @abcd95
6 weeks ago

Ciao @samdalex, Grazie per aver segnalato questo problema.

Dopo aver tentato di riprodurre l'errore, sospetto che l'URL "undefined" e l'errore 404 possano derivare da un conflitto con plugin/temi di terze parti o da una "race condition" durante il salvataggio.

Potresti testare il problema in un ambiente pulito, disattivando tutti i plugin e utilizzando un tema predefinito (es. Twenty Twenty-Four)? Se il problema si risolve, riattiva i plugin/temi uno alla volta per identificare il responsabile.

Sarebbe utile anche controllare la console del browser e i log di debug per eventuali errori.

#3 @SirLouen
6 weeks ago

  • Keywords needs-testing removed

@mukesh27 no patch that needs-testing

#4 @SirLouen
6 weeks ago

  • Keywords reporter-feedback added

Reproduction Report

Description

❌ This report can't validates that the issue can be reproduced.

Environment

  • WordPress: 6.9-alpha-60093-src
  • PHP: 8.2.28
  • Server: nginx/1.27.5
  • Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
  • Browser: Chrome 136.0.0.0
  • OS: Windows 10/11
  • Theme: Twenty Twenty-Five 1.2
  • MU Plugins: None activated
  • Plugins:
    • Test Reports 1.2.0

Bug Reproduction Steps

  1. Open a new WordPress Playground instance
  2. Go to Posts > Add Post
  3. Put some random content
  4. Click on the Computer Icon Top right (like the video)
  5. Click on Preview in new tab
  6. Preview is Shown as expected.

Actual Results

  1. ❌ Error condition doesn't occur

@samdalex, as you have been already pointed out, this error is not reproducible under clean environment conditions, so probably you have something in your environment that could be causing the problem. More info is required from your side, to further debug this issue.

#5 @SirLouen
11 days ago

  • Resolution set to worksforme
  • Status changed from new to closed

@samdalex please follow my instructions using the WordPress Playground as I'm suggesting, and if you are able to reproduce this, please, feel free to reopen this ticket and give more precise instructions on how to reproduce this (in English whenever possible)

Note: See TracTickets for help on using tickets.