(Ancient!) Doctype Grid Editor upgrade - UI issues
d
I'm currently embarking on a migration of a very old (Umbraco 7.2) website to v13. The first step was to upgrade from 7.2 to 7.15.11 in order to be able to progress with the uSync migrations packer. This has been done and appears relatively successful. However, what has broken is the content in the Doctype Grid Editor properties. The front-end partials are throwing errors, which is kind of okay for now, but the more concerning thing is that whilst the content still appears in the back-office (albeit the UI is different to how it was before — again, not too concerning for now) when a node is saved and published the blocks in the UI no longer have any clickable labels, so you're unable to open/edit any of the blocks. Initially I thought saving and publishing wiped all of the data but poking around in dev tools I think that it's actually "just" a UI issue where it looks like the blocks are deleted when publishing. The original DTGE package version was 0.1.1 but v0.6.1 has been installed via the backoffice, which hasn't helped. Does anyone happen to remember dealing with this kind of thing, and how to resolve it?
j
I think I’ve had this problem before and if I remember right it had to do with the fact that in the newer version of Umbraco, there’s no IDs/keys saved in the JSON for the DocType Grid Editor properties. This is how I would attempt to debug: 1. Try making a new test page with new content and see if it works 2. If it does work, I would go into the database and copy the raw data of one of the old properties into the text editor. 3. Then in would get the data for my new working property and compare them
d
Thanks @Janae. Into the db we go…! 😨
j
I'm wishing you the best!
m
Sure you did.. but I was stumped on a problem with dtge for ages till I updated dtge and usync to the latest versions...(and then clean export uSync)
Another approach could be to run up a v8 vanilla umbraco site and run against the db to do all the core migrations.. and then pack the v8 content? (a core migration might address the missing udi's?)
I only looked briefly at packers as the client wanted all the uForm entries persisting.. so had to do db content updates to v10 and then migrate in place for dtge -> block grid and nested content -> block list.
j
I'm not sure the core migrations handles it because DTGE isn't part of core
m
would v1 to v2 dtge though? (you'd need all the required packages in the v8 vanilla too?)
although could handler it via a propertyconvertor 🤔
d
I've managed to get the DTGE working and the source site upgraded from 7.2.8 to 7.15.11. It was a very painful process but in case it helps anyone the abbreviated steps were… 1. Upgrade DTGE to 0.2.1 2. Save + publish all content nodes individually to get DTGE to save doc type aliases rather than id references (https://our.umbraco.com/packages/backoffice-extensions/doc-type-grid-editor/doc-type-grid-editor-feedback/91426-upgrade-011-to-050-issues#comment-288544) 3. Upgrade Umbraco to 7.4.4 then 7.6.14 then 7.15.11 (not sure if all of these are required but there seemed to be big changes at 7.4 and 7.6). 4. Upgrade DTGE to 0.6.1. Now I'm facing specific issues around the uSync packer and nested content inside blocks but will start a new thread for those. Relieved to have gotten to 7.latest at least.
8 Views