Bug (?) using DTGE + Nested Content with multiple DocTypes
Hi,
maybe I'm wrong, but if I create a DTGE grid editor based on a doctype that uses Nested Content configured to use 2 doctypes, when I insert this new grid editor on a page, the "+" NC button does not work.
If the same doctype based on NC I use for a page property (not grid layout), it works.
If the NC is configured to use only one doctype then it also works with DTGE
To reproduce the issue in local (Windows 10 v1607 build 14393.1066, IIS 10.0.14393.0):
download Umbraco zip from Our
install umbraco 7.5.13 without any starterkit
install Doc Type Grid Editor 0.4.0 package
install Nested Content 0.4.0 package
create a doc type without a template, named "Test A" (alias "testA") and with only one property (alias "text", datatype "Textstring")
create a doc type without a template, named "Test B" (alias "testB") and with only one property (alias "text", datatype "Textstring")
create a datatype named "Test Nested Content" with property editor "Nested Content" and Doc Types "Test A" + "Test B" (other setting at default)
create a doc type without a template, named "Test Grid Editor" (alias "testGridEditor"), with only one property (alias "testNC", datatype "Test Nested Content")
Bug (?) using DTGE + Nested Content with multiple DocTypes
Hi,
maybe I'm wrong, but if I create a DTGE grid editor based on a doctype that uses Nested Content configured to use 2 doctypes, when I insert this new grid editor on a page, the "+" NC button does not work.
If the same doctype based on NC I use for a page property (not grid layout), it works.
If the NC is configured to use only one doctype then it also works with DTGE
To reproduce the issue in local (Windows 10 v1607 build 14393.1066, IIS 10.0.14393.0):
install Nested Content 0.4.0 package
create a doc type without a template, named "Test A" (alias "testA") and with only one property (alias "text", datatype "Textstring")
create a doc type without a template, named "Test B" (alias "testB") and with only one property (alias "text", datatype "Textstring")
create a datatype named "Test Nested Content" with property editor "Nested Content" and Doc Types "Test A" + "Test B" (other setting at default)
create a doc type without a template, named "Test Grid Editor" (alias "testGridEditor"), with only one property (alias "testNC", datatype "Test Nested Content")
add in grid.editors.config.js
{ "name": "Test NC", "alias": "testNC", "view": "/App_Plugins/DocTypeGridEditor/Views/doctypegrideditor.html", "render": "/App_Plugins/DocTypeGridEditor/Render/DocTypeGridEditor.cshtml", "icon": "icon-wrench", "config": { "allowedDocTypes": [ "testGridEditor" ], "enablePreview": true, "viewPath": "/Views/Partials/Grid/Editors/", } },
create a datatype named "Grid layout" with property editor "Grid layout"
create a doc type named "Page", with only one property (alias "mainContent", datatype "Grid layout")
create a document of type "Page" in content, choose a "1 column layout", add a row "Headline", add a content "Test NC"
By clicking the "+" button to add content, nothing happens.
Am I wrong somewhere?
Thanks, Fabry
I see as aswell on 7.6.4 and newest of both packages: https://our.umbraco.org/projects/backoffice-extensions/nested-content/nested-content-feedback//86827-updated-umbraco-764-and-nested-content-02-04-with-multiple-doctypes-cannot-add-anything
More desription in my post but i think its a NC thing and not DTGE
I'm also seeing this issue on 7.7.4.
is working on a reply...