Copied to clipboard

Flag this post as spam?

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


  • julius 107 posts 289 karma points
    Sep 20, 2011 @ 01:57
    julius
    0

    Duplicate template aliases causing trouble

    Hi,

    Look here please: http://our.umbraco.org/forum/developers/api-questions/24044-SearchForTemplate-not-working-on-our-production-site?p=0#comment89776

     

    Having two or more templates with the same alias makes it impossible to remove the templates. Also is seems that accessing a template by name (for example example.com/JSON if you have a template called JSON, but no node called JSON) goes wrong.

    I've seen a bug like "JSON has already been added to the collection", so perhaps in the Umbraco code somewhere a collection is used that doesn't accept duplicate values or keys.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies