Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#62297 closed defect (bug) (invalid)

SCF creates a weird dropzone blackhole for metaboxes

Reported by: namith.jawahar Owned by:
Priority: normal Milestone:
Component: General Version:
Severity: normal Keywords:
Cc: Focuses:

Description

SCF creates a weird dropzone blackhole for metaboxes when the classic editor is in use or on a custom post type with rest api disabled.

Anything accidently going into that dropzone wont be recoverable if we switch to gutenberg. The meta box even disappears from the Preferences menu.

Not sure if this should be categorized as a classic editor bug or a gutenberg bug or an SCF bug.

To recreate the bug

1) Step 1 - With SCF active visit any custom post type with a metabox with the classic editor (rest turned off for the post type). You can also use classic editor plugin to reproduce this instead of turning the rest api on/off
2) Step 2 - Drag any metabox and you will see a new drop area above the editor beneath the title.
3) Step 3 - Drop the metabox there.

Now if you switch to gutenberg (using classic editor or turning on rest for the CPT) that metabox will be irrecoverable. It wont even appear in the prefernces menu to turn back on. Only way to get the metabox is via any methos turn off gutnberg, reload the page, visit screen options and turn if back on, and then activate gutenberg.

Attachments (6)

01 - New drop zone.png​ (172.2 KB ) - added by namith.jawahar 2 years ago.
Drop Zone
02 - Metabox in new drop zone.jpg​ (401.1 KB ) - added by namith.jawahar 2 years ago.
Metabox added to drop zone
03 - No Metabox.jpg​ (376.7 KB ) - added by namith.jawahar 2 years ago.
Metabox disappears from Gutenberg
04 - Missing from Preferences.jpg​ (237.4 KB ) - added by namith.jawahar 2 years ago.
Not recoverable via Preferences
05 - Recover the Metabox.jpg​ (446.3 KB ) - added by namith.jawahar 2 years ago.
Recover metabox from Classic Editor
06 - Metabox Recovered.jpg​ (245.3 KB ) - added by namith.jawahar 2 years ago.
Metabox Recovered

Download all attachments as: .zip

Change History (9)

@namith.jawahar
2 years ago

Metabox disappears from Gutenberg

#1 @namith.jawahar
2 years ago

Any metabox on the edit page should be available under preferences and recoverable when in gutenberg mode

Last edited 2 years ago by namith.jawahar (previous) (diff)

#2 @jorbin
2 years ago

  • Component Editor → General
  • Focuses ui removed
  • Milestone Awaiting Review
  • Resolution → invalid
  • Severity major → normal
  • Status new → closed
  • Version 6.6.2

Hi @namith.jawahar, I'm sorry to hear you are having difficulty with a plugin, however, this Trac is used for the development of the WordPress software, not for assistance with individual sites or plugins.

I would suggest reaching out to the ​Support Forums for this plugin for further assistance. There are volunteers there who can hopefully help you.

I've closed this ticket of with the term invalid, in this case it's the unfriendly term trac uses to indicate that I've referred you to somewhere where you can find people better able to assist you.

#3 @namith.jawahar
2 years ago

@jorbin This is actually an issue with the edit page. The edit page is not capturing all metaboxes registered to it for retrieval via preferences. SCF is just a means to reproducing the bug. The method being in a new section in the edit page should not result it in being irrecoverably disappearing. The preferences menu should still list it and be recoverable into an available section.

I haven’t reopened the ticket, please reread the issue and decide as required

Version 1, edited 2 years ago by namith.jawahar (previous) (next) (diff)
Note: See TracTickets for help on using tickets.