Uploaded image for project: 'Front Edition'
  1. Front Edition
  2. FRONTEDIT-129

Improve error messages when creating a new page

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.LATER
    • None
    • None
    • 1 - Middle term
    • 2 - Normal

      When we use  template `ametys-front-edition-insert-create-page-button` but the parameter `default-content-title` is not set correctly, we have this kind of error : 

      Une erreur est survenue dans le traitement de la réponse serveur (TypeError: Cannot read property 'getId' of null)
      TypeError: Cannot read property 'getId' of null
      at constructor._applyContentCB (eval at <anonymous> (jquery.js:349), <anonymous>:9062:9)
      at constructor.eval (eval at <anonymous>
       

      It would be great to have an error that is more meaningful.

       

            Unassigned Unassigned
            jonathan Jonathan Wendlinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: