Copied to clipboard

Flag this post as spam?

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

  • Ben Norman 167 posts 275 karma points
    May 20, 2015 @ 08:12
    Ben Norman

    Rename Doc Type Issue

    If I change the alias / name of the doc type that the data type is based on, the content no longer works. If I then change it back to the original name, it works again. I expected the stuff to follow the doc type regardless of the alias or name. I am not sure if you meant for this or not but it is something that I though I would point out just in case it was something that you wanted to handle.

  • Lee Kelleher 3898 posts 14772 karma points MVP 10x admin c-trib
    May 20, 2015 @ 10:11
    Lee Kelleher

    Hi Ben,

    Currently we used the DocType's GUID to identify it, so it should work with DocType renames, (at least that's how we designed it). Hmmm... we'll look into it.

    Although, heads-up - a pull-request has been made to add support for multiple DocTypes - which I know swaps the GUID for the Alias name... so this may become a problem again.

    Curious question, realistically how often do you rename DocTypes? (post-development phase)

    - Lee

  • Ben Norman 167 posts 275 karma points
    May 20, 2015 @ 10:53
    Ben Norman

    I usually rename doctypes during the initial build if at all. The project I am working on though is a multi tennant site and so each time a new site template is asked for, I try and reuse some doctypes. It isn't huge but it is an expectation that I had which was a little scary until I tried to rename it back and it worked.

Please Sign in or register to post replies

Write your reply to: