adobe / aem-core-cif-components

A set of configurations and components to get you started with AEM Commerce development
Apache License 2.0
102 stars 80 forks source link

Searchbar is not using the resource resolver to return shortened urls #976

Open mbouxsein24 opened 1 year ago

mbouxsein24 commented 1 year ago

Expected Behaviour

Apply resource mapping on the searchResultsPageUrl

Actual Behaviour

Reproduce Scenario (including but not limited to)

data-sly-use.searchbar="${'com.adobe.cq.commerce.core.components.models.searchbar.Searchbar'}" data-search-result-page-url="${searchbar.searchResultsPageUrl}"

Steps to Reproduce

1) Add the searchResultsPageUrl to a page 2) Enable resource resolver for the environment

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem