Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-84351

Forms: form title modification does not work

    Details

      Description

      . On the default website, go to Content > Forms and create a new form with a (required) title and a single form field
      2. save this new form
      3. edit that same form and change the title to a different value
      4. save the form again

      Result: The form still has its original title
      Expected: The title of the form should be changed to the new title you added in step 3

      Branch@90eda5db5d1d471eb512eff243c146f5dfa05bd0: reproduced
      Master@b732b8fa8f216204f7acad61c82ed105a997a6fe: works as expected

      Notes:

      Console error when user tries to edit a form:

      ckeditor.js?browserId=other&languageId=en_US&b=7006&t=1533823765288:339 Uncaught RangeError: Maximum call stack size exceeded
      at h.setData (VM504 ckeditor.js:339)
      at h.<anonymous> (VM504 ckeditor.js:346)
      at a.k (VM504 ckeditor.js:10)
      at a.<anonymous> (VM504 ckeditor.js:11)
      at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (VM504 ckeditor.js:13)
      at a.setData (VM504 ckeditor.js:255)
      at component._onDataReady (alloyeditor.js?browserId=other&minifierType=&languageId=en_US&b=7006&t=1533823765535:259)
      at a.k (VM504 ckeditor.js:10)
      at a.<anonymous> (VM504 ckeditor.js:11)
      at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (VM504 ckeditor.js:13)
      

       If user tries to delete the content of the title, after every character deletion, there is an error thrown:

      ckeditor.js?browserId=other&languageId=en_US&b=7006&t=1533823765288:351 Uncaught TypeError: Cannot read property 'getRanges' of null
      at a.<anonymous> (VM6538 ckeditor.js:351)
      at a.k (VM6538 ckeditor.js:10)
      at a.<anonymous> (VM6538 ckeditor.js:11)
      at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (VM6538 ckeditor.js:13)
      at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.keystrokeHandler.f (VM6538 ckeditor.js:227)
      at h.k (VM6538 ckeditor.js:10)
      at h.fire (VM6538 ckeditor.js:11)
      at HTMLDivElement.<anonymous> (VM6538 ckeditor.js:57)
      
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 5 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP60
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master