Copied to clipboard

Flag this post as spam?

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


  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Aug 12, 2010 @ 12:51
    Ali Sheikh Taheri
    0

    I believe this is a bug!!! duplicate properties from master doc type

    I have got a master document type with the (umbracoUrlName,umbracoRedirect,umbracoNavihide). called Standard Pages.

    I created a doc type called article with the Standard Pages master doc type. (everything is fine till now).

    copied the article doc type and selected Standard Pages as master page. the above properties are dubplicated. 

    I think when you select the master page it should eliminate the properties in common.

  • sun 403 posts 395 karma points
    Aug 12, 2010 @ 13:56
    sun
    0

    I think this is a bug.

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Aug 12, 2010 @ 14:46
    Aaron Powell
    0

    When you perform a Copy of a document type it will copy its entire structure, regardless of what you are setting as the master of the new copy.

    This is to ensure that all properties are copied across, and yes you can end up with duplicates as you have noticed.

    One of the reasons for this is the copy isn't able to detect if the new parent is different from the old parent, due to lacking in design and/ or this being an edge-case scenario.

    If  you believe it to be a bug (I'd actually call it a by-design feature) then log it on codeplex and if there is enough voting for it it will be addressed.

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Aug 12, 2010 @ 14:56
    Ali Sheikh Taheri
    0

    Hi Slace,

    I think we both right. 

    But I believe it would be a good feature if that works without any human intervention.

    By just having an if condition in creation time of doc type it can be fixed.(if no master doc is selected copy all the properties else exclude the master doctype properties. simple as that) when a doctype has got many properties it would be headache to deal with removing or adding properties.

    Hope that makes sense.

    Ali

Please Sign in or register to post replies

Write your reply to:

Draft