Copied to clipboard

Flag this post as spam?

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


  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jan 21, 2014 @ 10:45
    Jeavon Leopold
    0

    uSync v2 in Umbraco v7.0.2 error

    After upgrading from Umbraco v7.0.1 to v7.0.2 I am now seeing the following error, I'm not sure what might of changed...

    Method not found: 'Umbraco.Core.Services.PackagingService Umbraco.Core.Services.ServiceContext.get_PackagingService()'.

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Jan 21, 2014 @ 11:21
    Kevin Jump
    0

    yeah - i haven't had a chance to check on umbraco 7.0.2 yet, but it looks like something subtle has changed in the package manager which usync uses for a lot of import / export work.

    do you have any more detail for that error (it would be good if you can pinpoint the usync function that is calling it)

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jan 21, 2014 @ 11:32
    Jeavon Leopold
    0

    Full error from log4net:

    2014-01-21 09:42:57,165 [27] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 23] An unhandled exception occurred
    System.TypeInitializationException: The type initializer for 'jumps.umbraco.usync.SyncDataTypesV7' threw an exception. ---> System.MissingMethodException: Method not found: 'Umbraco.Core.Services.PackagingService Umbraco.Core.Services.ServiceContext.get_PackagingService()'.
       at jumps.umbraco.usync.SyncDataTypesV7..cctor()
       --- End of inner exception stack trace ---
       at jumps.umbraco.usync.SyncDataTypesV7.AttachEvents()
       at jumps.umbraco.usync.uSync.AttachToAll()
       at jumps.umbraco.usync.uSync.RunSync()
       at jumps.umbraco.usync.uSync.DoOnStart()
       at jumps.umbraco.usync.uSync.OnApplicationStarted(UmbracoApplicationBase httpApplication, ApplicationContext applicationContext)
       at Umbraco.Core.CoreBootManager.<Complete>b__5(IApplicationEventHandler x)
       at Umbraco.Core.EnumerableExtensions.ForEach[TItem](IEnumerable`1 items, Action`1 action)
       at Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete)
       at Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete)
       at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)
       at Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e)
    
  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Jan 22, 2014 @ 13:38
    Kevin Jump
    2

    Thanks,

    It looks like Services.PackageService now returns an IPackageService in v7.0.2 when in v6/v7.0.1 it returned a PacakgeService.

    I am in the middle of rebasing uSync so the v7/v6 code crossover simpler - I will get this fixed in that.

  • Jeavon Leopold 3072 posts 13628 karma points MVP 10x admin c-trib
    Jan 22, 2014 @ 16:16
    Jeavon Leopold
    0

    Interesting, I wonder if that is a known breaking change...?

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Feb 04, 2014 @ 15:12
    Kevin Jump
    100

    Hi I've released v2.0.0rc4 to fix this issue in (7.0.2/7.0.3) - (http://our.umbraco.org/projects/developer-tools/usync/)

    however there is a now doctype export bug - in that document types where properties are assigned to the generic properties tab will fail to export. A pull request is in to put a fix in for umbraco, in the mean time you might want to no put any properties on the generic properties tab.

  • Arjan 9 posts 62 karma points
    Feb 22, 2014 @ 22:28
    Arjan
    1

    Thank you Kevin!

    I can happily report that the rc4 fix is also working in 7.0.4.

    I can even save and load properties from the generic tab. Haven't tried that in 7.0.3 so it may me be just my lack of knowledge and a little luck. Seems to be getting fixed in 7.1.0, as you surely know: http://issues.umbraco.org/issue/U4-4119 ;

Please Sign in or register to post replies

Write your reply to:

Draft