takeru0001 %!s(int64=5) %!d(string=hai) anos
pai
achega
1feb14e3e3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/models/page.js

+ 1 - 1
src/server/models/page.js

@@ -1294,7 +1294,7 @@ module.exports = function(crowi) {
     // find manageable descendants
     const pages = await this.findManageableListWithDescendants(targetPage, user, options);
 
-    await Promise.all(pages.map((page) => {
+    Promise.allSettled(pages.map((page) => {
       const newPagePath = page.path.replace(pathRegExp, newPagePathPrefix);
       return this.rename(page, newPagePath, user, options);
     }));