Copied to clipboard

Flag this post as spam?

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


  • Lars Nederberg 29 posts 84 karma points
    Nov 18, 2014 @ 22:40
    Lars Nederberg
    0

    Import tags to an inherited property of type tags

    Using:
    Umbraco 7.1.8
    Umirror 1.0.0.2107

    I have a master document type with som meta properties, one of these is of type tags.

    Then i have another document type that inherits the master document type. 

    I tried to import data to the child document type. All properties but tags worked.

    Got following error:

    [uMirror][Sidor] initValues Sida tags Cannot associate a tag to a node that doesn't have a Property Type assigned to a Tag Property Editor System.InvalidOperationException: Cannot associate a tag to a node that doesn't have a Property Type assigned to a Tag Property Editor at umbraco.cms.businesslogic.Tags.Tag.AddTagsToNode(Int32 nodeId, String tags, String group) at Lecoati.uMirror.Core.Synchronizer.initProperties(Content doc, XElement xFrom, Node node, Boolean force) in c:\Project\TFS\lct_umirror\Src\Lecoati.uMirror\Core\Synchronizer.cs:line 854 

     

  • Heather Floyd 604 posts 1002 karma points MVP 5x c-trib
    Dec 16, 2015 @ 01:24
    Heather Floyd
    0

    I am having a similar issue.

    The parent DocType has two tag properties, which are correctly defined in the destination site with the same Tag group name as the source data (which is from another Umbraco instance as per http://lecoati.com/en/leblog/upgrade-to-umbraco-7-with-umirror-part-1/).

    However, I cannot import anything - all those nodes are returning an error:

    ERROR Lecoati.uMirror.Core.Util - [uMirror][MySite Transfer] initValues BlogPostRichText tags Cannot associate a tag to a node that doesn't have a Property Type assigned to a Tag Property Editor
    System.InvalidOperationException: Cannot associate a tag to a node that doesn't have a Property Type assigned to a Tag Property Editor
       at umbraco.cms.businesslogic.Tags.Tag.AddTagsToNode(Int32 nodeId, String tags, String group)
       at Lecoati.uMirror.Core.Synchronizer.initProperties(Content doc, XElement xFrom, Node node, Boolean force) in c:\Project\TFS\lct_umirror\Src\Lecoati.uMirror\Core\Synchronizer.cs:line 854
    
Please Sign in or register to post replies

Write your reply to:

Draft