Copied to clipboard

Flag this post as spam?

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


  • Shafiq 12 posts 62 karma points
    Aug 20, 2014 @ 04:52
    Shafiq
    0

    Wordpress blogs Import in uBlogsy issue

    Hello,

    I am using Umbraco 6.1.6 with defaultRenderingEngine setted as "WebForm". I have existing blog in wordpress in different server. Recently, we have decided to incorporate existing blogs into our umbraco site. Hence, I installed ublogsy using uBlogsy_Webforms_3.0.2.zip and CMSImport using CMSImport-2.5.2.zip package file. When I tried to import blogs from xml file exported from wordpress, I used to get error

    Type validation failed. The value type: 'DateTime' does not match the DataType in PropertyType with alias: 'roomCurrency'

    [Exception: Type validation failed. The value type: 'DateTime' does not match the DataType in PropertyType with alias: 'roomCurrency']
       Umbraco.Core.Models.Property.set_Value(Object value) +217
       Umbraco.Core.Persistence.Factories.PropertyFactory.BuildEntity(IEnumerable`1 dtos) +409
       Umbraco.Core.Persistence.Repositories.ContentRepository.GetPropertyCollection(Int32 id, Guid versionId, IContentType contentType, DateTime createDate, DateTime updateDate) +1265
       Umbraco.Core.Persistence.Repositories.ContentRepository.CreateContentFromDto(DocumentDto dto, Guid versionId) +358
       Umbraco.Core.Persistence.Repositories.ContentRepository.PerformGet(Int32 id) +588
       Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id) +84
       Umbraco.Core.Persistence.Repositories.d__29.MoveNext() +885
       System.Linq.Buffer`1..ctor(IEnumerable`1 source) +335
       System.Linq.d__0.MoveNext() +110
       uHelpsy.Helpers.IContentHelper.GetIContentByAlias(IContent current, String rootAlias, String alias) in d:\_PROJECTS\Personal\uHelpsy - Library\uHelpsy\Source\uHelpsy.Web\Helpers\IContentHelper.cs:143
       uTagsy.Web.usercontrols.uTagsy.uTagsy.GetTagContainer() in D:\_PROJECTS\Personal\uTagsy\Source\uTagsy.Web\usercontrols\uTagsy\uTagsy.ascx.cs:106
       uTagsy.Web.usercontrols.uTagsy.uTagsy.LoadSettings() in D:\_PROJECTS\Personal\uTagsy\Source\uTagsy.Web\usercontrols\uTagsy\uTagsy.ascx.cs:58
       uTagsy.Web.usercontrols.uTagsy.uTagsy.OnLoad(EventArgs e) in D:\_PROJECTS\Personal\uTagsy\Source\uTagsy.Web\usercontrols\uTagsy\uTagsy.ascx.cs:40
       System.Web.UI.Control.LoadRecursive() +54

     

    But, I find the blog posts are imported under targeted node of my existing Umbraco site. When I try to open any imported blog post, I get the same error as above. Note that if I import the blogs under default ublogsy root node then all works find. Have I missed anything?


    Thanks

    Shafiq

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 04, 2014 @ 10:54
    Anthony Dang
    0

    Hi did you get this sorted?

    It looks like roomCurrency is meant to be a DateTime property.

    Looks like an issue with mapping in cms import. You've probably mapped roomCurrency to a date property when it shouldt be.

     

Please Sign in or register to post replies

Write your reply to:

Draft