Updated umbraco (7.6.4) and Nested Content (0.2 >> 0.4), with multiple doctypes cannot add anything
Hey there :)
So as described i just updated to 7.6.4 and updated NC to 0.4 aswell. Everything seems to work but when i have a NC doctype, with multiple document types as options, it dosnt work when i click the "+" button.
So when ive added the package to the grid with DocTypeGridEditor which is also updated. and when we click the plus button nothing happens, there is no issues in the console or the log, and i can see 3 api calls are made:
I think it may be to do with the positioning of the Content Type selection modal, (but I haven't tried NC in 7.6.4 yet). As in it's somehow hidden off the screen.
A few other people have raised an issue about this, and we did a potential fix, (unreleased) ...
So we're unsure on how to resolve it. I guess it's trying to find a happy medium across all of NC's use-cases, (e.g. standard use + inside a DTGE + inside a Vorto + anything else we've not thought of).
I wish I had more time to investigate and come up with a rock solid solution, alas I currently don't :-( So any help would be hugely appreciated, (not targeting you directly Rasmus, but anyone reading this) :-)
Updated umbraco (7.6.4) and Nested Content (0.2 >> 0.4), with multiple doctypes cannot add anything
Hey there :)
So as described i just updated to 7.6.4 and updated NC to 0.4 aswell. Everything seems to work but when i have a NC doctype, with multiple document types as options, it dosnt work when i click the "+" button.
So when ive added the package to the grid with DocTypeGridEditor which is also updated. and when we click the plus button nothing happens, there is no issues in the console or the log, and i can see 3 api calls are made:
I can see an old bug with this is also posted on DTGEs page: https://our.umbraco.org/projects/backoffice-extensions/doc-type-grid-editor/doc-type-grid-editor-feedback/85329-bug-using-dtge-plus-nested-content-with-multiple-doctypes
Hi Rasmus,
I think it may be to do with the positioning of the Content Type selection modal, (but I haven't tried NC in 7.6.4 yet). As in it's somehow hidden off the screen.
A few other people have raised an issue about this, and we did a potential fix, (unreleased) ...
See here: https://github.com/umco/umbraco-nested-content/commit/9884999e65fbf9be5c2cd43c14f52a4302d1baec
But then a couple of other people had issues with that fix...
See here: https://github.com/umco/umbraco-nested-content/issues/130#issuecomment-306759636
So we're unsure on how to resolve it. I guess it's trying to find a happy medium across all of NC's use-cases, (e.g. standard use + inside a DTGE + inside a Vorto + anything else we've not thought of).
I wish I had more time to investigate and come up with a rock solid solution, alas I currently don't :-( So any help would be hugely appreciated, (not targeting you directly Rasmus, but anyone reading this) :-)
Cheers,
- Lee
Hello Lee
Awesome that you got back so fast ;)
hmm I tested your fix, and for me it worked, only thing i did different was also removing these 3 lines from the JS:
And
And it works both inside the grid with DTGE and as a standalone datatype without being put into the grid
I dont have vorto but here it seems to be good, with all mentioned use cases!
is working on a reply...