Affects Version/s: 7.0.X, 7.1.10 DXP FP2, 7.1.X, Master
Component/s: WCM > Publication
Steps to reproduce:
- Click on Creating of Basic Web Content
- Add a title
- Add the following content selecting the Code View first:
The following message is displayed: "Error. Your request failed to complete."
A more user friendly message is shown specifying that root of the problem (the URL /group/guest/home is wrong in this case)
Debugging the issue we detect that the URL is wrong in com.liferay.exportimport.internal.content.processor.LayoutReferencesExportImportContentProcessor#validateLayoutReferences. Taking this into account we should tell the user which is the specific problem so that he can fix it easily. This can be crucial to edit large contents.
This happens for most of the errors the journal service returns, this is just an example. Please create a way to get the root cause from the service for all of them.