You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/content/content-type/structure/content-type-container-structure-helper.class.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ export class UmbContentTypeContainerStructureHelper<T extends UmbContentTypeMode
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/content/content-type/structure/content-type-structure-manager.class.ts
+22-5Lines changed: 22 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -198,6 +198,8 @@ export class UmbContentTypeStructureManager<
198
198
this.#ownerContentTypeUnique =unique;
199
199
if(!unique){
200
200
this.#initRejection?.(`Content Type structure manager could not load: ${unique}`);
201
+
this.#initResolver =undefined;
202
+
this.#initRejection =undefined;
201
203
returnPromise.reject(
202
204
newError('The unique identifier is missing. A valid unique identifier is required to load the content type.'),
203
205
);
@@ -207,6 +209,8 @@ export class UmbContentTypeStructureManager<
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-group.element.ts
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ export class UmbContentTypeWorkspaceViewEditGroupElement extends UmbLitElement {
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-tab.element.ts
throw new Error('OwnerTabId is not set, we have not made a local duplicated of this container.');
44
-
return;
45
-
}*/
56
+
if(item.ownerId===undefined){
57
+
// This may be possible later, but for now this is not possible. [NL]
58
+
thrownewError(
59
+
'OwnerId is not set for the given container, we cannot move containers that are not owned by the current Document.',
60
+
);
61
+
}
46
62
/**
47
63
* Explanation: If the item is the first in list, we compare it to the item behind it to set a sortOrder.
48
64
* If it's not the first in list, we will compare to the item in before it, and check the following item to see if it caused overlapping sortOrder, then update
49
65
* the overlap if true, which may cause another overlap, so we loop through them till no more overlaps...
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor.element.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -753,7 +753,7 @@ export class UmbContentTypeDesignEditorElement extends UmbLitElement implements
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/core/router/modal-registration/modal-route-registration.controller.ts
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -103,8 +103,12 @@ export class UmbModalRouteRegistrationController<
0 commit comments