My project is a v7.7.7 with a v0.61 DTGE nuget install.
When loading a page in the CMS that uses the DTGE, I can see several calls to /1131?dtgePreview=1 (one for each DTGE editor on the page), but the fields each load the full published paged rather than the correct partial. In addition to this, the styling of the CMS interface breaks preventing any further use.
This is happening on each of the environments (local, staging and live) and I cannot find a reason why this would be happening.
To clarify:
There are no redirects/rewrite rules running
There is no custom routing
I have cleared the cache, restarted the app pool and rolled the client dependency multiple times
Rolling the CD didn't work for me, neither did the app restart gubbins.
A developer working on the project had upgraded the DTGE package for no obvious reason and so I downgraded it back to 0.51. This fixed the issue for me.
Editor preview displays full page and breaks CMS interface styling
I think this is possibly related to a few other issues reported, specifically https://our.umbraco.com/packages/backoffice-extensions/doc-type-grid-editor/doc-type-grid-editor-feedback/91647-404-on-getcontenttypeicon-and-4931dtgepreview-1 and https://our.umbraco.com/packages/backoffice-extensions/doc-type-grid-editor/doc-type-grid-editor-feedback/86919-grid-preview-in-backoffice-is-rendering-front-end-template-umbraco-763
My project is a v7.7.7 with a v0.61 DTGE nuget install.
When loading a page in the CMS that uses the DTGE, I can see several calls to /1131?dtgePreview=1 (one for each DTGE editor on the page), but the fields each load the full published paged rather than the correct partial. In addition to this, the styling of the CMS interface breaks preventing any further use.
This is happening on each of the environments (local, staging and live) and I cannot find a reason why this would be happening.
To clarify:
This started happening when I applied the fix for the Chrome 66 issue reported here.
Can anyone suggest anything? I would rather not upgrade at this point as I'd really like to know the cause of the issue.
Thanks people!
Kieron
Hi Kieron,
Do you have any output caching?
Matt
No, I'm afraid not.
Where are you partials? Can you share a bit of config for one or two elements.
Matt
Yo Matt! Sure ...
So the partials are all in /Views/Partials/CustomGridEditors/ or /Views/Partials/Pods/
An example of a 'failing' XHR call is http://www.example-url.co.uk/1245?dtgePreview=1 and the form paramaters being passed are:
The config, I believe is correct given that the previewViewPath is being correctly passed as a parameter.
Having said that, at /App_Plugins/DocTypeGridEditor/Config/grid.editor.config.js is:
... and at /App_Plugins/GridEditors/package.manifest is (abridged):
This is not a project I have set up so apologies for any glaring mistakes I may have overlooked!
Any Umbraco redirects? From renaming nodes I know this does ignore query string a long shot I know
I cant see anything in the config that jumps out compared to my own...
Though I have never used the
previewViewPath
... just theviewPath
Matt
Hi, Kieron.
Was this ever resolved?
I'm running into the exact same issue now after updating to Umbraco 7.14 and DTGE 0.6.1. This is on my dev machine and I have no redirects setup.
My issues were resolved (as usual) by incrementing the version number in ClientDependency.config.
Rolling the CD didn't work for me, neither did the app restart gubbins.
A developer working on the project had upgraded the DTGE package for no obvious reason and so I downgraded it back to 0.51. This fixed the issue for me.
However, there was another issue I was having with the backoffice too which may have been causing issues https://our.umbraco.com/forum/umbraco-7/using-umbraco-7/60627-417-Missing-token-in-the-backoffice
is working on a reply...