MWPW-161174 fixed library query param #3128
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, our
.hlx.live
page is protected with an access.live.allow rule in .config. and because of this we are not able to add our blocks to the library in sidekick. You can find more information here: https://github.com/orgs/adobecom/discussions/3121We found that there is a possibility to fetch library blocks data from custom url by adding
library
query param to library URL inconfig.json
, but we found the bug inlibrary-config.js
and because of this bug, custom library URL will be fetched two times, and milo library data will be skipped.We propose solution that when
library
query param is present, additional blocks data will be fetched from custom url specified in this param and then added to existing milo blocks.Resolves: MWPW-161174
Test URLs:
NOTE my branch link doesn't work i have some issue with setting up AEM sync code