Benedikt Neuhold a7f086317d Fixed #4905: Taxonomy term counter does not decrease.
I think the problem is that the TermsPartHandler triggers the TermCountProcessor as a Task async and the TermCountProcessor used the ContentTypeId as a parameter.
If a ContentItem gets deleted, the TermCountProcessor cannot access it anymore and the Terms won't getting reprocessed which results in a wrong count.
I altered the ITermCountProcessor interface to accept TermPartRecordId's instead of the ContentTypeId and use this id's directly.
I also had to add a call for the ITermCountProcessor in the TermService UpdateTerm method. This is because when you re-publish a ContentItem only the new Terms are available in the PublishedEvent - but also terms from the previous version needed to be processed.
2015-04-20 16:24:28 -05:00
2014-08-15 13:42:52 -07:00
2014-10-30 12:57:46 -07:00
2014-10-30 12:57:46 -07:00
2014-05-02 09:23:29 -07:00
Description
About Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform. orchardproject.net
246 MiB
Languages
C# 43.9%
JavaScript 43.7%
HTML 5.5%
CSS 2.4%
Less 1.5%
Other 2.9%