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

Locking: ServerSideRendered block error #40461

Closed
Soean opened this issue Apr 20, 2022 · 0 comments · Fixed by #40468
Closed

Locking: ServerSideRendered block error #40461

Soean opened this issue Apr 20, 2022 · 0 comments · Fixed by #40468
Assignees
Labels
[Feature] Block Locking The API allowing for the ability to lock/unlock blocks [Type] Bug An existing feature does not function as intended

Comments

@Soean
Copy link
Member

Soean commented Apr 20, 2022

Description

If I lock a server side rendered block, I see an error.

Step-by-step reproduction instructions

  1. Add a server side rendered block like Latest comments
  2. Lock block
  3. See error This block has encountered an error and cannot be previewed.

Screenshots, screen recording, code snippet

{
   "code":"rest_invalid_param",
   "message":"Invalid parameter(s): attributes",
   "data":{
      "status":400,
      "params":{
         "attributes":"lock is not a valid property of Object."
      },
      "details":{
         "attributes":{
            "code":"rest_additional_properties_forbidden",
            "message":"lock is not a valid property of Object.",
            "data":null
         }
      }
   }
}

Environment info

  • WordPress 6.0 nightly
  • Gutenberg 13.0

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@Soean Soean added [Type] Bug An existing feature does not function as intended [Feature] Block Locking The API allowing for the ability to lock/unlock blocks labels Apr 20, 2022
@Mamaduka Mamaduka self-assigned this Apr 20, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 20, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block Locking The API allowing for the ability to lock/unlock blocks [Type] Bug An existing feature does not function as intended
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants