Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a Document Type hierarchy of -
Database- Manufacturers- - Manufacturer- - Model
but I want to move Manufacturer and Model up a level. I tried using the "Swap Master Doc Type" option but after clicking all of the confirm buttons, nothing hapens, I just stay on the confirm changes screen.
This is on Umbraco 4.5.2 with SQL Server 2008. I have tried the change using both Firefox 3.6 and IE 8.
Am what I am trying to do possible with this package, or have I misunderstood it?
It should be possible yes, however I've not really updated the package lately so will have to run some tests. I'll try and get some time to spend with it this week and see if I can see the problem.
I have the same problem, nothing happens after clicking the last popup. It just stay on the confirm changes screen
I seem to be experiencing the same problem. I am using Umbraco 4.7.0 with SQL Server 2008.
When I try to swap some documents master doc type I am presented with a 'Map properties' dialog. When this appears I am unable to complete the process and as described above remain on the confirm changes screen. I have noticed the following error in the console window -
ScriptResource.axd:938Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: The DELETE statement conflicted with the REFERENCE constraint "FK_cmsPreviewXml_cmsContentVersion". The conflict occurred in database "databaseName", table "dbo.cmsPreviewXml", column 'versionId'. The statement has been terminated.
Have you any idea what could be causing this?
I can't recall when I wrote the master doc type switcher, but from the error, I would assume it was before the cmsPreviewXml database table was introduced, so the issue is that when you try to swap the master doc type, it breaks the references in the cmsPreviewXml table and so doesn't allow it to change. I'm a bit strapped for time at the moment, but you are more than welcome to have a poke around the source which is on codeplex, and I'll be happy to answer any quesions you have.
Sorry I can't be of more help at the moment.
Thanks for the input Matt. I'll take a look at it.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted