Copied to clipboard

Flag this post as spam?

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


  • Joao Pinto 24 posts 64 karma points
    Feb 19, 2013 @ 12:15
    Joao Pinto
    0

    umbraco v6 - Saving document type event - not working properly?

    I've added an event that should fire when saving a document type, but it is fired 3 times instead of one! On Umbraco 4.11.1, using the DocumentType objects instead of ContentType, it used to work properly.

    This is my code:

    using System.Web;
    using umbraco.interfaces;
    using Umbraco.Core.Models;
    using Umbraco.Core.Services;
    
    public class MultiLanguageModule : IApplicationStartupHandler{
        public MultiLanguageModule()
        {
            ContentTypeService.SavedContentType += Test;
        }
    
        private void Test(IContentTypeService sender, Umbraco.Core.Events.SaveEventArgs e)
        {
            HttpContext.Current.Response.Write("TEST"); //will print TESTTESTTEST, while it should be printed only once.
        }    
    }
    
  • Joao Pinto 24 posts 64 karma points
    Feb 21, 2013 @ 17:22
    Joao Pinto
    0

    I've created 6 different topics in umbraco forums, and I never got one answer in any one of them.

    I'm starting to think that there's something wrong  with my topics? What's about "The friendliest CMS community on the planet" and the umbraco developers?

    I love Umbraco, but the fact that everytime that I ask for something nobody answers I get somewhat disappointed. I know, is an open source CMS and anyone is busy developing on it... but 6 topics without answers.. mhmh makes me think that the support just doesn't exist?

Please Sign in or register to post replies

Write your reply to:

Draft