Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.2.1
-
None
-
None
Description
Dialogs store the link to a feed as a path, not an uiid (no converted defined). However the methode AbstractFeedModel:getFeedTitle access this attribute as a UIID:
public String getFeedTitle(String feedLink) { try { if (content.hasProperty("feed")) { Node rssParent = SessionUtil.getNodeByIdentifier(RSSAggregatorConstants.WORKSPACE, content.getProperty("feed").getString()); return getFeedProperty(rssParent, FEEDS_NODE, "link", feedLink, "title"); } } catch (RepositoryException e) { log.error("Problem while fetching feed title for statistics: " + e.getMessage()); } return null; }
The method SessionUtil.getNode should be used instead.
Checklists
Acceptance criteria