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

Unable to save a content has contains warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.20.0
    • 1.19.0
    • None
    • 4.10 M1

      Try to edit a content with fields in warnings (for example a richtext with only Title 2)

      There is a JS error, unable to validate edition

      EditContent.fr.js:410 Uncaught TypeError: Ametys.form.SaveHelper.getWarnedFieldsAsReadableList is not a function
          at constructor._validate (EditContent.fr.js:410:96)
          at Object.callback (ext-all.js:9632:39)
          at constructor.fireHandler (ext-all.js:167301:17)
          at constructor.onClick (ext-all.js:167283:16)
          at constructor.fire (ext-all.js:22900:42)
          at constructor.fire (ext-all.js:37958:27)
          at constructor.publish (ext-all.js:37918:28)
          at constructor.publishDelegatedDomEvent (ext-all.js:37940:14)
          at constructor.doDelegatedEvent (ext-all.js:37984:16)
          at constructor.onDelegatedEvent (ext-all.js:37971:18)
      

        1. screenshot-1.png
          257 kB
          Laurence Aumeunier

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: