U4-5140 - Tags are not respected with bulk publish operations

Created by Shannon Deminick 25 Jun 2014, 05:01:12 Updated by Shannon Deminick 14 Dec 2015, 09:33:36

Relates to: U4-5120

If you save a content item with tags, and then re-lookup that item and bulk publish it with something like PublishWithChildren (PublishWithChildrenWithStatus), the tags will not be published.

Comments

Shannon Deminick 30 Jun 2014, 07:00:24

The packager never actually publishes anything so itself doesn't need to be changed because tags are only ever deal with when they are published. But we have a different problem all together:

Tags are dealt with something called TagSupport on a property type, but this is only used when content is being saved or SavedAndPublished - if content is simply published/republished or published as part of a bulk publish operation then properties that have tags enabled do not write to the TagSupport part of the property so they don't get published to the tag table in the database.

.. At least i think this is the problem now.


Shannon Deminick 01 Jul 2014, 02:53:41

Have updated the code in the VersionableRepositoryBase.GetPropertyCollection

This now checks if a property supports tags by looking up the property editor, if it does it then builds up the pre-values associated with the property and uses the TagExtractor to set the tags on the property value. This ensures that the property's TagSupport is filled in correctly. Then when any publishing occurs, the tag support is pre-filled correctly.


Heather L Floyd 04 Dec 2015, 23:54:46

@Shandem : Was your fix ever included in a release? I am seeing this issue in version 7.3.3

Similar/Related issues: http://issues.umbraco.org/issue/U4-5120 http://issues.umbraco.org/issue/U4-455

Thanks!


Shannon Deminick 14 Dec 2015, 09:33:36

@hfloyd If you have exact steps to reproduce can you please list them? If the issue is specific to http://issues.umbraco.org/issue/U4-5120 then please add repro steps there.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Difficult

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.3

Due in version: 7.1.5

Sprint:

Story Points:

Cycle: