Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Editor: Snackbar says 'Template Part "[object Object]" inserted' after creating a new Template Part #28303

Closed
mattwiebe opened this issue Jan 18, 2021 · 0 comments · Fixed by #28306
Assignees
Labels
[Block] Template Part Affects the Template Parts Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@mattwiebe
Copy link
Contributor

Description

Snackbar says 'Template Part "[object Object]" inserted' after creating a new Template Part

Step-by-step reproduction instructions

  1. Open Site Editor
  2. Add a Template Part block
  3. Press "Choose Existing" button
  4. Pick a template
  5. Snackbar says 'Template Part "[object Object]" inserted'

Expected behaviour

Snackbar should say 'Template Part "Name Goes Here" inserted'.

Actual behaviour

Snackbar says 'Template Part "[object Object]" inserted'

Screenshots or screen recording (optional)

image

WordPress information

  • WordPress version: 5.6
  • Gutenberg version: 9.8.0-rc.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: Desktop
  • Operating system: macOS 11.1
  • Browser: Chrome 87.0.4280.141
@mattwiebe mattwiebe added [Type] Bug An existing feature does not function as intended [Feature] Full Site Editing [Block] Template Part Affects the Template Parts Block labels Jan 18, 2021
@mattwiebe mattwiebe self-assigned this Jan 18, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Template Part Affects the Template Parts Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
1 participant