Bug 735701

Summary: untitled source urls should show something more useful instead of the generic "Source URL" text
Product: [Community] PressGang CCMS Reporter: Dana Mison <dmison>
Component: Web-UIAssignee: Dana Mison <dmison>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: lnewson, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-02 00:32:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dana Mison 2011-09-05 04:23:28 UTC
20110901-0957 /CustomSearchTopicList.xhtml

As $SUBJECT.  or at possibly the protocol://domain part of the URL if lengthy URLs are a concern.  just something a bit more descriptive than "Source URL" ;-)

Comment 1 Matthew Casperson 2011-09-15 03:29:55 UTC
Fixed in 20110915-1326

The TopicSourceUrl class gets a @PrePersist and @PreUpdate function called setTitle() that uses HTML Cleaner (http://htmlcleaner.sourceforge.net/) to download and extract the title from any source url that has an empty title.

The SkynetCommandLine Project has been updated with a method called fixURLTitles(), which has been used to update any existing blank titles.