Hy,
While resolving the issue While removing the block/section in layout builder the respective JS/CSS file should be deleted found that the asset entity has been created when the block was saved.

As a suggestion, I think it should be created when the layout is saved.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

abhisekmazumdar created an issue. See original summary.

abhisekmazumdar’s picture

Status: Active » Needs review
FileSize
15.28 KB
abhisekmazumdar’s picture

FileSize
30.94 KB
26.31 KB

Needed to update the patch the following changes:

  • The asset entity is created only when the Layout is saved.
  • If the layout is not saved and the placed block is edited, it shows the pre-filled values.
  • Fixed coding standards for the files modified by this patch.

Note: Deleting the asset entity will be handled on this.

Thank You.

hash6’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @abhisek for finding the flaw and fixing it with perfect patch!!!.

  • abhisekmazumdar authored 11cf88a on 8.x-1.x
    Issue #3098567 by abhisekmazumdar: Create the asset entity only when...
hash6’s picture

Status: Reviewed & tested by the community » Fixed
hash6’s picture

Assigned: abhisekmazumdar » Unassigned
hash6’s picture

hash6’s picture

Status: Fixed » Closed (fixed)