Details

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 weeks, 1 day ago