Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Fix Version/s: 1.5.2
-
Component/s: Site Generation Service
-
Labels:None
Description
Paragraph titles with commas in them do not show the sub string before the first comma.
For example, the string: "In Mandurah, depend on SOS Antennas for Digital Antenna Installation Services" shows up on the website as:"depend on SOS Antennas for Digital Antenna Installation Services"
After tracking down the problem's origin to core / backend / services / core-common-parent / domain / src / main / java / com / thesearchagency / core / smb / domain / customization / customer / fields / content_fields / ParagraphTitleField.java , the reason is fairly obvious:
public String getTitle() {
return value.substring(value.indexOf(",")+1);
}
I'm guessing the reason it assumed this is that paragraph sentences are usually numbered (eg "1,Plastering services are an Integral part of a construction Project. A professional approach and the ability to work effectively and communicate with site personnel from other trades to design teams and Project Managers is critical."). Paragraph titles are not, and thus this problem arises.