Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1405 posts 1746 karma points
    Nov 28, 2010 @ 15:49
    Gordon Saxby
    0

    Swap Master Doc Type does not appear to work

    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?

  • Matt Brailsford 3685 posts 19396 karma points MVP 9x c-trib
    Nov 29, 2010 @ 10:28
    Matt Brailsford
    0

    Hey Gordon,

    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.

    Matt

  • Sebastian Dammark 555 posts 1296 karma points
    Mar 30, 2011 @ 16:29
    Sebastian Dammark
    0

    I have the same problem, nothing happens after clicking the last popup. It just stay on the confirm changes screen

  • James Lambe 2 posts 22 karma points
    Jul 13, 2011 @ 17:03
    James Lambe
    0

    Hi,

    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? 

  • Matt Brailsford 3685 posts 19396 karma points MVP 9x c-trib
    Jul 13, 2011 @ 17:29
    Matt Brailsford
    0

    Hi James,

    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.

    Matt

  • James Lambe 2 posts 22 karma points
    Jul 14, 2011 @ 10:36
    James Lambe
    0

    Thanks for the input Matt.  I'll take a look at it.

Please Sign in or register to post replies

Write your reply to:

Draft