[wp-trac] [WordPress Trac] #56649: Block themes Template editor: the query block cannot be previewed on a newly created Category Template for a specific item

WordPress Trac noreply at wordpress.org
Sat Sep 24 15:28:54 UTC 2022


#56649: Block themes Template editor: the query block cannot be previewed on a
newly created Category Template for a specific item
--------------------------+-----------------------------
 Reporter:  franz00       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Adding a Category Template for a specific item will caused its query block
 to be unpreviewable, although the front end renders it correctly.
 Replacing the query block doesn't resolve the problem either. This problem
 however, doesn't happen if one chooses all categories items.

 Testing environment: WP 6.1 beta1 at instawp sandbox site, TT2 block
 themes, Firefox browser on Windows.

 Steps to reproduce:
 1. Activate TT2 block themes.
 2. Go to Template editor & add new template Category for specific items.
 3. Select a category page (assuming one already had one).
 4. An error message will show up in the editor, saying "this block has
 encounter an error and cannot be previewed."

 Here's the GIF screenshot [https://imgur.com/a/BJcsygX].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56649>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list