Copied to clipboard

Flag this post as spam?

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


  • Pete 213 posts 285 karma points
    Jan 27, 2012 @ 15:52
    Pete
    0

    Bug when creating Campaign Letter

    When you create a new campaign letter, and select campaignletter as the template, it creates the node but when you click on it I get this error:

    Server Error in '/' Application.

    could not resolve property: campaign of: uWebZone.CampaignLetters.Entity.uwz_MasterTemplate

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: NHibernate.QueryException: could not resolve property: campaign of: uWebZone.CampaignLetters.Entity.uwz_MasterTemplate

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [QueryException: could not resolve property: campaign of: uWebZone.CampaignLetters.Entity.uwz_MasterTemplate]
       NHibernate.Persister.Entity.AbstractPropertyMapping.ToType(String propertyName) +70
       NHibernate.Persister.Entity.AbstractEntityPersister.GetSubclassPropertyTableNumber(String propertyPath) +34
       NHibernate.Persister.Entity.BasicEntityPropertyMapping.ToColumns(String alias, String propertyName) +25
       NHibernate.Persister.Entity.AbstractEntityPersister.ToColumns(String alias, String propertyName) +21
       NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetColumns(ICriteria subcriteria, String propertyName) +76
       NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetColumnsUsingProjection(ICriteria subcriteria, String propertyName) +95
       NHibernate.Criterion.CriterionUtil.GetColumnNamesUsingPropertyName(ICriteriaQuery criteriaQuery, ICriteria criteria, String propertyName) +12
       NHibernate.Criterion.PropertyExpression.ToSqlString(ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary`2 enabledFilters) +75
       NHibernate.Loader.Criteria.CriteriaQueryTranslator.GetWhereCondition(IDictionary`2 enabledFilters) +249
       NHibernate.Loader.Criteria.CriteriaJoinWalker..ctor(IOuterJoinLoadable persister, CriteriaQueryTranslator translator, ISessionFactoryImplementor factory, ICriteria criteria, String rootEntityName, IDictionary`2 enabledFilters) +333
       NHibernate.Loader.Criteria.CriteriaLoader..ctor(IOuterJoinLoadable persister, ISessionFactoryImplementor factory, CriteriaImpl rootCriteria, String rootEntityName, IDictionary`2 enabledFilters) +195
       NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) +408
       NHibernate.Impl.CriteriaImpl.List(IList results) +56
       NHibernate.Impl.CriteriaImpl.UniqueResult() +47
       NHibernate.Criterion.QueryOver`1.SingleOrDefault() +50
       NHibernate.Criterion.QueryOver`1.NHibernate.IQueryOver<TRoot>.SingleOrDefault() +5
       uWebZone.CampaignLetters.Services.EmailBodyRender.PlaceHolderNameList(Guid campaignUniqueID) +1537
       uWebZone.CampaignLetters.Pages.Letters.<initialData>b__8(DropDownList d) +87
       uWebZone.CampaignLetters.UserControls.TabView.Execute(String id, Action`1 action) +205
       uWebZone.CampaignLetters.Pages.Letters.initialData() +360
       uWebZone.CampaignLetters.Pages.Letters.Page_Load(Object sender, EventArgs e) +254
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +91
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
    
  • Owen 123 posts 246 karma points
    Jan 27, 2012 @ 16:14
    Owen
    0

    Hi Pete, which version did you used?

  • Pete 213 posts 285 karma points
    Jan 27, 2012 @ 16:29
    Pete
    0

    Hey owen - I used the latest one on the download link, 0.4, and I am running umbraco version 4.7.0.

    Thanks

    Pete

  • Owen 123 posts 246 karma points
    Jan 27, 2012 @ 16:31
    Owen
    0

    Cool, thanks for you reply.

    I will fix this ASAP.

  • Pete 213 posts 285 karma points
    Jan 27, 2012 @ 16:34
    Pete
    0

    Thanks, looking forward to using it.

  • Owen 123 posts 246 karma points
    Jan 31, 2012 @ 02:51
    Owen
    0

    Hi Pete, i just upload a new version. Your issue will be fixed.

  • Pete 213 posts 285 karma points
    Jan 31, 2012 @ 11:28
    Pete
    0

    Thanks owen, it's working fine now.

    Gratz on the package.

Please Sign in or register to post replies

Write your reply to:

Draft