Articulate icon indicating copy to clipboard operation
Articulate copied to clipboard

Copy then publish existing post NOT showing in respective category

Open yidingww opened this issue 7 years ago • 5 comments
trafficstars

If I copy a post to the same archive then publish it (like copy "Test" into a "Test (1)".) Now both of them are in the same category (eg. TestCategory). Then when I click into /blog/categories/TestCategory, only "Test" is shown, "Test (1)" won't show until I make changes to its categories and contents.

However, the root blog list (/blog) will always show the newly copied published posts

I believe this is an Articulate's bug

yidingww avatar May 28 '18 08:05 yidingww

I'll need to replicate this but I'm fairly sure this is an Umbraco issue not an Articulate one. Articulate doesn't control anything to do with the copying which is done in Umbraco which handles copying the tags correctly.

Shazwazza avatar May 30 '18 00:05 Shazwazza

Hi Mr. Deminick, thanks for the reply! Are there any ways to avoid this bug?

yidingww avatar May 30 '18 01:05 yidingww

A fix would need to be made to the CMS to make sure this is done properly. There's probably a way to to 'fix' it with event handlers in the meantime but I'm not sure what would work off the top of my head and would need to investigate. Unfortunately I don't have any time right now but if i find time in the next month or two i'll see what i can find.

Shazwazza avatar May 31 '18 04:05 Shazwazza

From the ArticulateTagsController controller it calls the GetContentByTags which is actually cached in the call with appContext.ApplicationCache.RuntimeCache.GetCacheItem ...

I'm not sure what flushed this cache, but that might be the problem ...

@Shazwazza You being the Umbraco/Articulate expert ... could this be the problem here? I guess it's cached because it's doing some SQL to lookup the tags in Umbraco and hence ... the reason to cache this request ... ?

syska avatar Jan 28 '19 18:01 syska

Interesting, does the problem go away if you restart the app then? If so then yep it could be this method which we could clear the caches using cache refreshers

Shazwazza avatar Jan 13 '20 03:01 Shazwazza