Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M4
-
Component/s: Legacy, Legacy > Control Panel menu
-
Environment:Liferay Version: 6.1 GA 2
Operating System: Windows 7
Application Server: Tomcat 7.0.x
Java Virtual Machine: Java 6
Database: MySQL 5.5
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Story Points:2
-
Similar Issues:
Description
Steps to Reproduce:
- Launch a clean bundle
- Install the My Subscriptions portlet
- Navigate to Control Panel -> Wiki
- Click on Actions and select Subscribe
- Navigate to Control Panel -> My Subscriptions
Intended Result: the title field of the wiki node should be the name of the wiki (Main) and be a clickable link
Actual Result: the title field is the numerical ID of the wiki and is plain text
Issue Links
- is related to
-
LPS-30086
My Subscriptions show numerical ID instead of portlet name
-

After further investigation, Wiki Nodes are not currently defined within the Asset Framework, and no AssetRendererFactory has been written for Wiki Nodes, as Wiki Nodes are containers for a set of wiki pages, but are not themselves content to be displayed.
I haven't looked into the subscription code for the WikiNode, triggered by the Action button, "subscribe" as per the image.
As per displaying the WikiNode name in the My Subscriptions portlet, adding the below code to MySubscriptionsUtil.java within the getTitleText() method below
else if (className.equals(MBCategory.class.getName())) {: