Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
Component/s: Web Content > Web Content Administration
If a link between a Documents & Media file and a Web Content Article is invalid, when attempting to publish, the error displayed isn't helpful to non-technical authors.
Steps to Reproduce
1. Configure Liferay to use CKEditor as the default web content editor in portal-ext.properties
2. Sign in and navigate to Control Panel > Content > Documents and Media
3. Add an image file (or any file)
4. Create a new Basic Web Content article.
a. Add a Title
b. Edit "Content" field
c. Click on "link" icon in CKEditor toolbar.
d. Click "Browse Server" button.
e. Select the uploaded image (or file)
f. Change default "Display Text" to something readable (e.g. "My Pic")
g. Click "OK" button to insert link into "Content" field.
h. Click "Source" button to display HTML code view
Edit the link to make it invalid
(note the two "88" edits)
14. Click "Publish" button
A non-technical error is displayed to help content authors identify broken document links when publishing fails due to validation error(s).