This is an automated email from the ASF dual-hosted git repository. dklco pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
commit cbd5efe9c596ee8d450538ab04a722be3294f7d0 Author: Dan Klco <[email protected]> AuthorDate: Mon Jan 23 22:34:36 2023 -0500 Minor - removing adaption which didn't do anything except log a exception --- .../libs/sling-cms/components/editor/fields/references/references.jsp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/references/references.jsp b/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/references/references.jsp index 07e308da..13e0e377 100644 --- a/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/references/references.jsp +++ b/ui/src/main/resources/jcr_root/libs/sling-cms/components/editor/fields/references/references.jsp @@ -17,10 +17,6 @@ * under the License. */ --%> <%@include file="/libs/sling-cms/global.jsp"%> -<c:if test="${slingRequest.requestPathInfo.suffix != null}"> - <sling:getResource path="${slingRequest.requestPathInfo.suffix}" var="editedResource" /> - <c:set var="editProperties" value="${sling:adaptTo(editedResource,'org.apache.sling.api.x.ValueMap')}" scope="request"/> -</c:if> <sling:adaptTo var="references" adaptable="${slingRequest.requestPathInfo.suffixResource}" adaptTo="org.apache.sling.cms.References" /> <c:if test="${fn:length(references.references) gt 0}"> <div class="field ${properties.toggle ? 'is-hidden toggle-value' : ''}" data-toggle-source=":operation" data-toggle-value="move">
