-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.0 CE GA1, 7.1.10 DXP FP3, 7.1.X, Master
-
Fix Version/s: 7.1.10 DXP FP5, 7.1.10.1 SP1, 7.1.2 CE GA3, 7.1.X, Master
-
Component/s: Page Templates
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
-
QA Test Score:3
Description:
Customer reports that when creating a new page template, an ambiguous/vague error is displayed ("An unexpected error occurred.") if the name that is entered is a duplicate of an already existing page template (could be either an existing Content or Widget Page Template). They are suggesting that the error should be more descriptive, informing the user that the name chosen is already being used for another page template. Although this is obvious if you only have these two templates, when you have 100s or 1000s of templates, it's easy to overlook which names you may have used.
Steps to Reproduce:
1. Create a new Site Template
2. Go to that Site Template's Page Templates
3. Create a New Content Page Template with the name 'Test'
4. Create a New Widget Page Template with the same name 'Test'
Expected Results:
You'll receive an error about duplicate template names
Actual Results:
Your only feedback is the vague: "An unexpected error occurred." An error is logged to the Tomcat logs. See attached stack trace.
Branch: Reproduced (d68d72ecc6005721577880a5496dad0393949bcd)
Master: Reproduced (9eba12e97e672c9f530bb909a4adced615f29dd5)
- causes
-
LPS-114127 The Global page template entry is not shown in Page Templates admin via add-layout-prototype JSONWS API
- Closed
- is related to
-
LPS-89951 Duplicate page template entry error message is not displaying
- Closed
- relates
-
LPS-87877 Error Not Displayed When Renaming Widget Page Template with Invalid Name
- Closed