adobe / aem-boilerplate

Use this repository template for new AEM projects.
https://main--aem-boilerplate--adobe.aem.page
Apache License 2.0
126 stars 349 forks source link

Prevent hero block auto-blocking if explicit hero block is specified #414

Open sdmcraft opened 1 month ago

sdmcraft commented 1 month ago

Expected Behaviour

Prevent hero block auto-blocking if explicit hero block is specified

Actual Behaviour

Hero block is created twice when there's an explicit hero block specified. Once due to auto-blocking of hero block and send time through the usual hero block loading.

Reproduce Scenario (including but not limited to)

Create a page which uses an explicit hero block. Observe that the hero block is created twice.

Steps to Reproduce

Create a page which uses an explicit hero block. Observe that the hero block is created twice.

Platform and Version

All

Sample Code that illustrates the problem

Check this page with 2 hero blocks. One created via auto-blocking and the second on through the usual block loading.

Logs taken while reproducing problem