adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
724 stars 737 forks source link

Path picker not working in RTE while having Absolute Path. #2700

Open vivekbd opened 3 months ago

vivekbd commented 3 months ago

Have tested this on AEM Cloud SDK v2024.3.15575.20240318T214814Z.

Bug Report

Current Behavior While using Text component, I observed that on updating a Hyperlink in the RTE, if there is an absolute path already filled into the field and you try to open path selector to make it an internal path. The path picker is not opening. I also investigated the Network calls and it seems for pre-selecting the internal path in the picker, the path already available in the field is appended to the request path, which in case of absolute path, fails.

Expected behavior/code If there is an absolute path in the field the path picker should open without path selection.

Environment

Additional context / Screenshots ret_isue