Problem/Motivation

Change blocks ordering is not working when the section has a heading block

Steps to reproduce

- Install varbase.
- Create a new landing page node.
- Go to layout builder and add a new section and add a heading block with other blocks like(basic block, or HTML block).
- Save the page.
- Edit the layout builder for the same page trying to change the ordering of blocks, for example, make the heading block under the basic block by drag and drop will find an ajax error (No route found for \u0022POST \/node\/3\/1\/section_header).
- Save the page the new order is not applied.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.11, varbase_layout_builder-10.0.23

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Qusai Taha created an issue. See original summary.

Ahmad Abbad made their first commit to this issue’s fork.

ahmad abbad’s picture

Version: 9.0.x-dev » 10.0.x-dev

ahmad abbad’s picture

Status: Active » Needs review
rajab natshah’s picture

Assigned: Unassigned » rajab natshah
rajab natshah’s picture

Title: Change blocks ordering is not working when the section has a heading block » Fix not working change blocks ordering when the section has a heading block
rajab natshah’s picture

Title: Fix not working change blocks ordering when the section has a heading block » Fix not working change of blocks ordering when the section has a heading block
rajab natshah’s picture

  • Rajab Natshah committed 1efefe1e on 10.1.x
    Issue #3317720: Fix not working change of blocks ordering when the...
rajab natshah’s picture

Status: Needs review » Needs work

Still having issues when Saving the Layout

rajab natshah’s picture

  • Only drag and drop issues when moving from the Section Header to other Rations in the same section.
  • and when reordering blocks in the same section header

Other issues are fixed

  • Rajab Natshah committed a950e0c4 on 10.0.x
    Issue #3317720 by Ahmad Abbad, Rajab Natshah, Qusai Taha: Fix not...

  • Rajab Natshah committed abdb3906 on 10.1.x
    Issue #3317720 by Ahmad Abbad, Rajab Natshah, Qusai Taha: Fix not...
rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Status: Needs work » Needs review
  • Fixed drag and drop issues when moving from the Section Header to other Rations in the same section.
  • Fixed issues when reordering blocks in the same section header
rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue summary: View changes
Issue tags: +varbase-9.0.11, +varbase_layout_builder-10.0.23
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.0.11