Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-2542

Edit Mode on Content Page doesn't work with the Speedwell or Minium theme

    Details

    • Portal Version/s:
      7.2.x
    • Sprint:
      FlexSprint01

      Description

      When add the Page Fragment on "Content Page" with edit tags I can't edit the text in edit mode. In console, in have the follow JS error (when i click over the text to try edit) :

      ?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/FloatingToolbar.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/FloatingToolbar.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteField.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteField.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxField.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxField.es.js&/o/js/resolved-module/[email protected]/js/components/common/AssetSelector.soy.js&/o/js/resolved-module/[email protected]/js/components/common/AssetSelector.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ItemSelectorFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentDialog.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentForm.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentForm.es.js:527 Uncaught TypeError: Cannot read property 'addEventListener' of null
       at ConnectedComponent.created (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/FloatingToolbar.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/FloatingToolbar.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteField.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteField.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxField.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxField.es.js&/o/js/resolved-module/[email protected]/js/components/common/AssetSelector.soy.js&/o/js/resolved-module/[email protected]/js/components/common/AssetSelector.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ItemSelectorFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentDialog.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentForm.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentForm.es.js:527)
       at ConnectedComponent.Component (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/lib/ComponentRenderer.js&/o/js/resolved-module/[email protected]/lib/Component.js&/o/js/resolved-module/[email protected]/lib/ComponentRegistry.js&/o/js/resolved-module/[email protected]/lib/all/component.js&/o/js/resolved-module/[email protected]/lib/html/HTMLParser.js&/o/js/resolved-module/[email protected]/lib/html/unescape.js&/o/js/resolved-module/[email protected]/lib/html/HTML2IncDom.js&/o/js/resolved-module/[email protected]/dist/incremental-dom-cjs.js&/o/js/resolved-module/[email protected]/lib/incremental-dom-string.js&/o/js/resolved-module/[email protected]/lib/incremental-dom.js&/o/js/resolved-module/[email protected]/lib/data.js&/o/js/resolved-module/[email protected]/lib/changes.js&/o/js/resolved-module/[email protected]/lib/callArgs.js&/o/js/resolved-module/[email protected]/lib/incremental-dom-aop.js&/o/js/resolved-module/[email protected]/lib/children/children.js&/o/js/resolved-module/[email protected]/lib/render/attributes.js&/o/js/resolved-module/[email protected]/lib/cleanup/unused.js&/o/js/resolved-module/[email protected]/lib/render/render.js&/o/js/resolved-module/[email protected]/lib/render/patch.js&/o/js/resolved-module/[email protected]/lib/IncrementalDomRenderer.js:345)
       at ConnectedComponent.FloatingToolbar (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/FloatingToolbar.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/FloatingToolbar.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteField.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ColorPaletteField.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxField.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/CheckboxField.es.js&/o/js/resolved-module/[email protected]/js/components/common/AssetSelector.soy.js&/o/js/resolved-module/[email protected]/js/components/common/AssetSelector.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/fragment_configuration/field_types/ItemSelectorFieldDelegateTemplate.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentDialog.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentForm.soy.js&/o/js/resolved-module/[email protected]/js/components/content/CreateContentForm.es.js:507)
       at new ConnectedComponent (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/js/actions/actions.es.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/store/StoreContext.es.js&/o/js/resolved-module/[email protected]/js/actions/saveChanges.es.js&/o/js/resolved-module/[email protected]/js/utils/constants.js&/o/js/resolved-module/[email protected]/js/utils/FragmentsEditorGetUtils.es.js&/o/js/resolved-module/[email protected]/js/utils/rowConstants.js&/o/js/resolved-module/[email protected]/js/utils/FragmentsEditorUpdateUtils.es.js&/o/js/resolved-module/[email protected]/js/utils/LayoutDataList.es.js&/o/js/resolved-module/[email protected]/js/store/state.es.js&/o/js/resolved-module/[email protected]/js/store/store.es.js&/o/js/resolved-module/[email protected]/js/store/ConnectedComponent.es.js&/o/js/resolved-module/[email protected]/js/utils/prefixSegmentsExperienceId.es.js&/o/js/resolved-module/[email protected]/js/components/toolbar/TranslationStatus.soy.js&/o/js/resolved-module/[email protected]/js/components/toolbar/TranslationStatus.es.js&/o/js/resolved-module/[email protected]/js/components/toolbar/SegmentsExperienceSelector.soy.js&/o/js/resolved-module/[email protected]/js/components/toolbar/segmentsExperiences/modal.soy.js&/o/js/resolved-module/[email protected]/js/components/toolbar/segmentsExperiences/modal.es.js:3115)
       at ConnectedComponent._createFloatingToolbar (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableFieldTooltip.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableFieldTooltip.es.js&/o/js/resolved-module/[email protected]/js/utils/debouncedAlert.es.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableField.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableField.es.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLinkContent.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLinkContent.es.js&/o/js/resolved-module/[email protected]/js/actions/updateActiveItem.es.js&/o/js/resolved-module/[email protected]/js/actions/updatePageEditorLayoutData.es.js&/o/js/resolved-module/[email protected]/js/actions/duplicateFragmentEntryLink.es.js&/o/js/resolved-module/[email protected]/js/actions/updateWidgets.es.js&/o/js/resolved-module/[email protected]/js/actions/removeFragmentEntryLinks.es.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLink.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLink.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/common/FloatingToolbarColorPicker.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/common/FloatingToolbarColorPicker.es.js:1304)
       at ConnectedComponent.syncActiveItemId (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableFieldTooltip.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableFieldTooltip.es.js&/o/js/resolved-module/[email protected]/js/utils/debouncedAlert.es.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableField.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEditableField.es.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLinkContent.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLinkContent.es.js&/o/js/resolved-module/[email protected]/js/actions/updateActiveItem.es.js&/o/js/resolved-module/[email protected]/js/actions/updatePageEditorLayoutData.es.js&/o/js/resolved-module/[email protected]/js/actions/duplicateFragmentEntryLink.es.js&/o/js/resolved-module/[email protected]/js/actions/updateWidgets.es.js&/o/js/resolved-module/[email protected]/js/actions/removeFragmentEntryLinks.es.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLink.soy.js&/o/js/resolved-module/[email protected]/js/components/fragment_entry_link/FragmentEntryLink.es.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/common/FloatingToolbarColorPicker.soy.js&/o/js/resolved-module/[email protected]/js/components/floating_toolbar/common/FloatingToolbarColorPicker.es.js:1188)
       at syncState (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/lib/route/Route.js&/o/js/resolved-module/[email protected]/lib/cacheable/Cacheable.js&/o/js/resolved-module/[email protected]/lib/screen/Screen.js&/o/js/resolved-module/[email protected]/lib/surface/Surface.js&/o/js/resolved-module/[email protected]/lib/app/App.js&/o/js/resolved-module/[email protected]/lib/promise/Promise.js&/o/js/resolved-module/[email protected]/lib/Ajax.js&/o/js/resolved-module/[email protected]/lib/errors/errors.js&/o/js/resolved-module/[email protected]/lib/UA.js&/o/js/resolved-module/[email protected]/lib/screen/RequestScreen.js&/o/js/resolved-module/[email protected]/lib/screen/HtmlScreen.js&/o/js/resolved-module/[email protected]/lib/app/AppDataAttributeHandler.js&/o/js/resolved-module/[email protected]/lib/app/dataAttributeHandler.js&/o/js/resolved-module/[email protected]/lib/app/version.js&/o/js/resolved-module/[email protected]/lib/senna.js&/o/js/resolved-module/[email protected]/liferay/aop/AOP.es.js&/o/js/resolved-module/[email protected]/liferay/debounce/debounce.es.js&/o/js/resolved-module/[email protected]/lib/events/events.js&/o/js/resolved-module/[email protected]/lib/sync/sync.js&/o/js/resolved-module/[email protected]/lib/validators.js&/o/js/resolved-module/[email protected]/lib/Config.js&/o/js/resolved-module/[email protected]/lib/State.js&/o/js/resolved-module/[email protected]/lib/all/state.js&/o/js/resolved-module/[email protected]/lib/ComponentDataManager.js:6207)
       at ConnectedComponent.handleComponentStateChanged_ (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/lib/ComponentRenderer.js&/o/js/resolved-module/[email protected]/lib/Component.js&/o/js/resolved-module/[email protected]/lib/ComponentRegistry.js&/o/js/resolved-module/[email protected]/lib/all/component.js&/o/js/resolved-module/[email protected]/lib/html/HTMLParser.js&/o/js/resolved-module/[email protected]/lib/html/unescape.js&/o/js/resolved-module/[email protected]/lib/html/HTML2IncDom.js&/o/js/resolved-module/[email protected]/dist/incremental-dom-cjs.js&/o/js/resolved-module/[email protected]/lib/incremental-dom-string.js&/o/js/resolved-module/[email protected]/lib/incremental-dom.js&/o/js/resolved-module/[email protected]/lib/data.js&/o/js/resolved-module/[email protected]/lib/changes.js&/o/js/resolved-module/[email protected]/lib/callArgs.js&/o/js/resolved-module/[email protected]/lib/incremental-dom-aop.js&/o/js/resolved-module/[email protected]/lib/children/children.js&/o/js/resolved-module/[email protected]/lib/render/attributes.js&/o/js/resolved-module/[email protected]/lib/cleanup/unused.js&/o/js/resolved-module/[email protected]/lib/render/render.js&/o/js/resolved-module/[email protected]/lib/render/patch.js&/o/js/resolved-module/[email protected]/lib/IncrementalDomRenderer.js:679)
       at ConnectedComponent.runListeners_ (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/lib/coreNamed.js&/o/js/resolved-module/[email protected]/lib/core.js&/o/js/resolved-module/[email protected]/lib/array/array.js&/o/js/resolved-module/[email protected]/lib/async/async.js&/o/js/resolved-module/[email protected]/lib/disposable/Disposable.js&/o/js/resolved-module/[email protected]/lib/object/object.js&/o/js/resolved-module/[email protected]/lib/string/string.js&/o/js/resolved-module/[email protected]/lib/metal.js&/o/js/resolved-module/[email protected]/lib/domData.js&/o/js/resolved-module/[email protected]/lib/EventHandle.js&/o/js/resolved-module/[email protected]/lib/EventEmitter.js&/o/js/resolved-module/[email protected]/lib/EventEmitterProxy.js&/o/js/resolved-module/[email protected]/lib/EventHandler.js&/o/js/resolved-module/[email protected]/lib/events.js&/o/js/resolved-module/[email protected]/lib/DomDelegatedEventHandle.js&/o/js/resolved-module/[email protected]/lib/DomEventHandle.js&/o/js/resolved-module/[email protected]/lib/domNamed.js&/o/js/resolved-module/[email protected]/lib/dom.js&/o/js/resolved-module/[email protected]/lib/DomEventEmitterProxy.js&/o/js/resolved-module/[email protected]/lib/features.js&/o/js/resolved-module/[email protected]/lib/globalEval.js&/o/js/resolved-module/[email protected]/lib/globalEvalStyles.js&/o/js/resolved-module/[email protected]/lib/events.js&/o/js/resolved-module/[email protected]/lib/all/dom.js:1926)
       at ConnectedComponent.emit (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1576506487447&/o/js/resolved-module/[email protected]/lib/coreNamed.js&/o/js/resolved-module/[email protected]/lib/core.js&/o/js/resolved-module/[email protected]/lib/array/array.js&/o/js/resolved-module/[email protected]/lib/async/async.js&/o/js/resolved-module/[email protected]/lib/disposable/Disposable.js&/o/js/resolved-module/[email protected]/lib/object/object.js&/o/js/resolved-module/[email protected]/lib/string/string.js&/o/js/resolved-module/[email protected]/lib/metal.js&/o/js/resolved-module/[email protected]/lib/domData.js&/o/js/resolved-module/[email protected]/lib/EventHandle.js&/o/js/resolved-module/[email protected]/lib/EventEmitter.js&/o/js/resolved-module/[email protected]/lib/EventEmitterProxy.js&/o/js/resolved-module/[email protected]/lib/EventHandler.js&/o/js/resolved-module/[email protected]/lib/events.js&/o/js/resolved-module/[email protected]/lib/DomDelegatedEventHandle.js&/o/js/resolved-module/[email protected]/lib/DomEventHandle.js&/o/js/resolved-module/[email protected]/lib/domNamed.js&/o/js/resolved-module/[email protected]/lib/dom.js&/o/js/resolved-module/[email protected]/lib/DomEventEmitterProxy.js&/o/js/resolved-module/[email protected]/lib/features.js&/o/js/resolved-module/[email protected]/lib/globalEval.js&/o/js/resolved-module/[email protected]/lib/globalEvalStyles.js&/o/js/resolved-module/[email protected]/lib/events.js&/o/js/resolved-module/[email protected]/lib/all/dom.js:1648)
      

       

      With a classic-theme the edit mode work it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alessandro.iovane Alessandro Iovane
              Reporter:
              roselainemarques Roselaine de Faria Marques Montero
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.0