Sensei: Block editor: Teachers unable to save course settings

Created on 23 Apr 2019  路  1Comment  路  Source: Automattic/sensei

Steps to Reproduce

  1. Sign in as a teacher.
  2. Edit/create a new course using the new block editor.
  3. Click Publish/Submit for Review and confirm.

What I Expected

Both post content and meta boxes save. Message comes up confirming course was saved.

What Happened Instead

Spinner keeps spinning. Meta box request ends with error. Meta box content is not saved

PHP / WordPress / Sensei version

PHP 7.2
WordPress 5.1
Sensei 1.12.3 and 2.0.1

Browser / OS version

Chrome

Screenshot / Video

Screen Shot 2019-04-23 at 3 04 35 PM

Apr-23-2019 15-02-22

[Status] Accepted [Type] Bug

Most helpful comment

After a bunch of digging, I've determined that this is a bug in Gutenberg. I submitted a PR - https://github.com/WordPress/gutenberg/pull/15375

That said, I consider this to be a pretty serious issue for Sensei, and it will likely take a while for that PR to make its way into WP core. I'll put together a PR with a workaround that we can use until it does.

>All comments

After a bunch of digging, I've determined that this is a bug in Gutenberg. I submitted a PR - https://github.com/WordPress/gutenberg/pull/15375

That said, I consider this to be a pretty serious issue for Sensei, and it will likely take a while for that PR to make its way into WP core. I'll put together a PR with a workaround that we can use until it does.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MindyPostoff picture MindyPostoff  路  3Comments

gaurav1984 picture gaurav1984  路  4Comments

jeichorn picture jeichorn  路  6Comments

kraftbj picture kraftbj  路  4Comments

danjjohnson picture danjjohnson  路  7Comments