Copied to clipboard

Flag this post as spam?

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


  • Ryan Rueckl 17 posts 74 karma points
    Nov 12, 2015 @ 23:06
    Ryan Rueckl
    0

    Scheduled publish puts content in wrong tag group

    We have 2 tag groups - the "default" and a custom "BZone" one. We are not using the default group - we have created a new Tag datatype with "BZone" for the tag group, and have fields in our doctype using that datatype. Everything works fine with a regular manual Save/Publish, but when we schedule some content to be published later there are a couple different issues that occur:

    • it relates the content to the "default" tag group (if that tag does not exist it just creates a new one)
    • when it creates that new tag in default, it puts quotes around the tag name, and sometimes it also adds one or 2 brackets around the tag name. For example, if we have the tag Theatres in the BZone group only, when the scheduled publish happens we end up with one of these new tags in default:
      • "Theatres"
      • ["Theatres"
      • ["Theatres"]
      • "Theatres"]
    • if no tag is assigned to the content, it gets related to a tag that is just empty brackets -> []

    Any ideas why this is happening, or how we can get it to stop and just use out BZone group?

  • Nigel Wilson 944 posts 2076 karma points
    Nov 15, 2015 @ 06:43
    Nigel Wilson
    0

    Hi Ryan

    Sorry for the delay in responding - been a holiday weekend and I've been away from my beloved (computer)... :-)

    From what you describe, my first reaction it that it is more likely to relate to an issue with the Umbraco Core functionality, however the "default" tag group to be hard baked into the code certainly seems weird.

    I will have a wee play with a V7 site and see what happens and update you. I'll be in touch soon.

    Cheers, Nigel

  • Nigel Wilson 944 posts 2076 karma points
    Nov 15, 2015 @ 16:41
    Nigel Wilson
    0

    Hi Ryan

    I have tested tagging some content and scheduling a publish on a V7.0.4 site and, sorry, but it worked as expected for me.

    The only suggestion I can make is to delete and recopy the Umbraco and bin directories to see if that helps. Otherwise an upgrade might be worth trying.

    Cheers, Nigel

  • Ryan Rueckl 17 posts 74 karma points
    Nov 19, 2015 @ 21:28
    Ryan Rueckl
    0

    Hi Nigel,

    Thanks for checking in. Unfortunately, I've tried upgrading Umbraco and the latest Tag Manager code, but I'm still seeing the issue. I think the biggest issue might actually be that it is adding square brackets around the tag names. And like I said it only happens on a scheduled publish. I looked at the previewXml table and saw this bit of Xml - <contentTags><![CDATA[["Tickets"]]]></contentTags>. To me it looks like there is an extra square bracket in the Xml - could that possibly be part of the issue? Any other thoughts?

    Thanks, Ryan

  • Nigel Wilson 944 posts 2076 karma points
    Nov 21, 2015 @ 19:05
    Nigel Wilson
    0

    Hi Ryan

    Sorry but I can't help any further - simply do not know what the issue is.

    I think it probably best to check the app_data/umbraco.config file, locate the "offfending" node data and post a query under the V7 forums - hopefully someone can help you out.

    Cheers, Nigel

Please Sign in or register to post replies

Write your reply to:

Draft