Copied to clipboard

Flag this post as spam?

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


  • Ben 107 posts 373 karma points
    Mar 31, 2014 @ 20:25
    Ben
    0

    Save and Send For Approval Problem

    Hi,

    I am using Umbraco v7.0.4 and I have found that if a user that has "Send To Publish" permissions and and clicks the green button at the bottom of the editor panel, the document is saved, but no email is sent

    I checked the log and found this:

    2014-03-31 14:11:14,150 [53] ERROR Umbraco.Core.PluginManager - [Thread 65] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter
    System.MissingMethodException: No parameterless constructor defined for this object.
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Umbraco.Core.PluginManager.CreateInstances[T](IEnumerable`1 types, Boolean throwException)
    
    If the same user uses the drop down option after saving the document, the email notification is sent out correctly:
    and the log looks like this:

     

    2014-03-31 14:11:33,851 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Starting resolution types of Umbraco.Core.PropertyEditors.IParameterEditor
    2014-03-31 14:11:33,851 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 42 (took 0ms)
    2014-03-31 14:11:33,975 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Starting resolution types of umbraco.cms.businesslogic.macro.IMacroEngine
    2014-03-31 14:11:33,975 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Completed resolution of types of umbraco.cms.businesslogic.macro.IMacroEngine, found 2 (took 1ms)
    2014-03-31 14:11:35,369 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Starting resolution types of umbraco.interfaces.IDataType
    2014-03-31 14:11:35,372 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Completed resolution of types of umbraco.interfaces.IDataType, found 35 (took 2ms)
    2014-03-31 14:11:35,424 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Starting resolution types of umbraco.MacroEngines.IRazorDataTypeModel
    2014-03-31 14:11:35,425 [53] INFO  Umbraco.Core.PluginManager - [Thread 54] Completed resolution of types of umbraco.MacroEngines.IRazorDataTypeModel, found 2 (took 1ms)
    
    Is there anything I can do to get the green button at the bottom of the editor panel to save the document and then send out the email notification?

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Mar 31, 2014 @ 20:50
    Jan Skovgaard
    100

    Hi Ben

    Have you setup an e-mail to send from in the /config/umbracoSettings.config in the notification area?

    And have you added valid SMTP information in the web.config in the smtp area?

    If you have done that already perhaps it's a bug that should be reported at the issue tracker

    Hope this helps.

    /Jan

  • Ben 107 posts 373 karma points
    Mar 31, 2014 @ 21:08
    Ben
    1

    Thanks Jan,

    I double checked the email settings in both the web.config and umbracoSettings.config and they both look good (emails are being sent out when the user uses the "Actions" drop down).  I have reported the bug on the issue tracker

  • 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