sergiogonzalez/liferay-portal — pull request #320 by matethurzo (2012-08-27 14:43:29+00:00)
Title: [TECH SUPPORT] LPS-29345

Hey Sergio, this is a fix for the message board notifications. The basic problem is that if someone is subscribed to the portlet itself (or the group) the portlet does not send notification to the user if a thread is being created under a category instead of the root one. This is happening because when the category ancestors are being collected the category with the id 0 - which is DEFAULT_PARENT_CATEGORY_ID is not being added to the categoryId list. Basically for every category there is an isRoot() method which will return true if that category has the default 0 category id. So instead of telling that <> it says <>. Thanks, Mate