Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 6.0.2 RC
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: Collaboration > Announcements
-
Labels:None
-
Liferay Contributor's Agreement:Accept
-
Similar Issues:
Description
Until RC1 URL wasn't mandatory and now you can't add an entry without an URL
Many announcements (if not all) are just announcements, meaning they don't need to point to another URL

Hi,
Can someone confirm if URL has been a mandatory field? If not, the validate method in AnnouncementsLocalServiceImpl should check for not null and not url.
Currently the below check will always throw an exception for empty or invalid URL.
if (!Validator.isUrl(url))
{ throw new EntryURLException(); }Verified in August 9, 2010 nightly build.
http://www.liferay.com/community/forums/-/message_boards/message/5533244