Copied to clipboard

Flag this post as spam?

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


  • Barry Fogarty 487 posts 1112 karma points
    Oct 09, 2015 @ 11:55
    Barry Fogarty
    0

    Importing dropdown datatypes from v6 site fails

    Hi Kevin

    I've been trying out uSync 3 but hitting problems importing standard dropdown-based datatypes with prevalues. The exception is:

    Failed to retrieve data for data type id 9666

     Mapping types:
     DataTypeDefinition -> IEnumerable`1
     Umbraco.Core.Models.DataTypeDefinition -> System.Collections.Generic.IEnumerable`1[[Umbraco.Web.Models.ContentEditing.PreValueFieldDisplay, umbraco, Version=1.0.5750.18164, Culture=neutral, PublicKeyToken=null]]
    
     Destination path:
     DataTypeDisplay.PreValues.PreValues
    
     Source value:
     Umbraco.Core.Models.DataTypeDefinition
    
    EXCEPTION DETAILS:
    
    AutoMapper.AutoMapperMappingException: 
    
     Mapping types:
     DataTypeDefinition -> IEnumerable`1
     Umbraco.Core.Models.DataTypeDefinition -> System.Collections.Generic.IEnumerable`1[[Umbraco.Web.Models.ContentEditing.PreValueFieldDisplay, umbraco, Version=1.0.5750.18164, Culture=neutral, PublicKeyToken=null]]
    
     Destination path:
     DataTypeDisplay.PreValues.PreValues
    
     Source value:
     Umbraco.Core.Models.DataTypeDefinition
    

    NB My source site is v6.2 with v2.1.0 uSync installed. Are the files generated by that version compatible? Gonna try to downgrade my destination site version first.

  • Kevin Jump 1486 posts 9550 karma points MVP 3x c-trib
    Oct 09, 2015 @ 12:20
    Kevin Jump
    0

    Hi

    I've tryed to keep them compatible, but obviously they are not quite :)

    can you post a .config file and will see if i can replicate / fix

    (you put it in the issues on github if you want)

  • Barry Fogarty 487 posts 1112 karma points
    Oct 09, 2015 @ 13:49
    Barry Fogarty
    0

    OK posted issue to here https://github.com/KevinJump/jumps.umbraco.usync/issues/49

    BTW I downgraded to v2.5 in case it offered better support for my source format but I got the following YSOD:

    2015-10-09 14:25:17,968 [P8872/D2/T1] ERROR Umbraco.Core.CoreBootManager - An error occurred running OnApplicationStarted for handler jumps.umbraco.usync.uSync System.NullReferenceException: Object reference not set to an instance of an object. at jumps.umbraco.usync.uSync.RunSync() at jumps.umbraco.usync.uSync.DoOnStart() at Umbraco.Core.CoreBootManager.

    NB I am just setting up my config to do a read from disk on startup.

Please Sign in or register to post replies

Write your reply to:

Draft