Skip to content

Commit

Permalink
#3413 - Redirect Manager: Interface triggers an error because of wron…
Browse files Browse the repository at this point in the history
…g deprecated resource type (#3416)

* #3413 - Redirect Manager: Interface triggers an error because of wrong deprecated resource type
  • Loading branch information
YegorKozlov authored Oct 1, 2024
1 parent a6d8161 commit a059ed5
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
- #3420 - Redirect Map Manager - enable Redirect Map Manager in AEM CS (would require a specific - not public yet - AEM CS release version, TBA)
- #3429 - UI Widgets - add uniq function to embedded lodash library to resolve issue with composite multifield widget
- #3423 - Redirect Manager - status code is not retaining its value in the dialog after authoring
- #3417 - Configurable recursion in Content Sync

### Fixed

- #3413 - Redirect Manager: Interface triggers an error because of wrong deprecated resource type

## 6.6.4 - 2024-08-14
- #3417 - Configurable recursion in Content Sync

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,18 @@
$.ajax({
url: redirectPath + ".html"
}).done(function (trHtml) {
var tr;
if (response.isCreate) {
var editRedirectTable = $(TABLE_SELECTOR);
var tr = editRedirectTable
tr = editRedirectTable
.find("tbody")[0]
.appendChild(document.createElement("tr"));
$(tr).replaceWith(trHtml);
tr.id = redirectId;
tr.dataset.path = redirectPath;
} else {
$("#" + redirectId).replaceWith(trHtml);
tr = $("#" + redirectId)[0];
}
tr.innerHTML = trHtml;
var ui = $(window).adaptTo("foundation-ui");
ui.clearWait();
});
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--
~ ACS AEM Commons
~
~ Copyright (C) 2013 - 2023 Adobe
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
--><!--
Render a redirect as html.
Used by the "Configure Redirection Rule" dialog to update the table of redirects
-->
<sly
data-sly-use.redirectsTemplate="../template.html"
data-sly-call="${redirectsTemplate.row @ redirectResource = resource, allowRearrange = true}"
/>

0 comments on commit a059ed5

Please sign in to comment.