Copied to clipboard

Flag this post as spam?

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


  • René 327 posts 852 karma points
    May 15, 2014 @ 16:31
    René
    0

    Upgrade to Umbraco 6.2.0

    Hi

    I have upgradeed from 6.1.6 to 6.2.0

    Now i get this error on my scripts

    Error loading MacroEngine script (file: /Product/Featuredproducts.cshtml)

    In the error log i get this

    2014-05-15 13:24:23,458 [43] WARN  umbraco.macro - [Thread 77] Error loading MacroEngine script (file: /Product/Featuredproducts.cshtml, Type: ''. Exception: System.InvalidOperationException: More than one converter for property type product.vendor
       ved Umbraco.Core.Models.PublishedContent.PublishedPropertyType.InitializeConverters()
       ved Umbraco.Core.Models.PublishedContent.PublishedPropertyType..ctor(PublishedContentType contentType, PropertyType propertyType)
       ved Umbraco.Core.Models.PublishedContent.PublishedContentType.<.ctor>b__0(PropertyType x)
       ved System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       ved System.Linq.Buffer`1..ctor(IEnumerable`1 source)
       ved System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
       ved Umbraco.Core.Models.PublishedContent.PublishedContentType..ctor(IContentTypeComposition contentType)
       ved Umbraco.Core.Models.PublishedContent.PublishedContentType.CreatePublishedContentType(PublishedItemType itemType, String alias)
       ved Umbraco.Core.Models.PublishedContent.PublishedContentType.<>c__DisplayClassc.<Get>b__b()
       ved Umbraco.Core.Cache.CacheProviderExtensions.<>c__DisplayClass9`1.<GetCacheItem>b__8()
       ved Umbraco.Core.Cache.StaticCacheProvider.<>c__DisplayClass1a.<GetCacheItem>b__19(String key)
       ved System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       ved Umbraco.Core.Cache.StaticCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem)
       ved Umbraco.Core.Cache.CacheProviderExtensions.GetCacheItem[T](ICacheProvider provider, String cacheKey, Func`1 getCacheItem)
       ved Umbraco.Core.Models.PublishedContent.PublishedContentType.Get(PublishedItemType itemType, String alias)
       ved Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedContent.Initialize()
       ved Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedContent..ctor(XmlNode xmlNode, Boolean isPreviewing)
       ved Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.ConvertToDocument(XmlNode xmlNode, Boolean isPreviewing)
       ved Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
       ved Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)
       ved umbraco.MacroEngines.DynamicBackingItem..ctor(Int32 Id)
       ved umbraco.MacroEngines.DynamicNode..ctor(String NodeId)
       ved umbraco.MacroEngines.Library.RazorLibraryCore.NodeById(String Id)
       ved ASP._Page_macroScripts_Product_Featuredproducts_cshtml.Execute() i c:\dev\Au2StyleMergedFromServer\Au2StyleMergedFromServer\Au2StyleMergedFromServer\macroScripts\Product\Featuredproducts.cshtml:linje 20
       ved System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
       ved System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
       ved System.Web.WebPages.WebPage.ExecutePageHierarchy()
       ved System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
       ved umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
       ved umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
       ved umbraco.macro.loadMacroScript(MacroModel macro)
       ved umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)

    Any ideas? 

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    May 15, 2014 @ 16:52
    Jan Skovgaard
    0

    Hi René

    I think that there was a bug regarding this issue...I just tried checking to see if I could find it on the http://issues.umbraco.org/issues but I have not found it yet but feel free to browse the tracker yourself.

    I've seen others have similar issues - However I would like to know if you're using a shop system, since the macro in question is called "Featuredproducts"? If so it could perhaps be related to the shop system perhaps.

    Looking forward to hearing from you.

    /Jan

  • René 327 posts 852 karma points
    May 15, 2014 @ 16:59
    René
    0

    Hi Jan 

    I use teacommerce. 

    But this has nothin to do with the "featuedproducts" This was only an example from many other script files. 

    I can see there iss an issue similar to this, do you know when version 6.2.1 is released?

     

     

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    May 15, 2014 @ 17:26
    Jan Skovgaard
    0

    Hi René

    That was also my thought but it's hard to be sure when other factors are involved as well.

    I don't no when HQ is planning to do the patch release. But probably soon since this seems to be a big bug.

    Cheers, Jan

  • mots 44 posts 75 karma points
    Jun 04, 2014 @ 15:36
    mots
    0

    I have just got this error too after upgrading from version 4.11.7 to 6.2.1. Has anyone been able to find a solution to this problem? Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft