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

Adding a Success Page and editing the page title/description is breaking form builder

    Details

      Description

      Summary:
      Adding a Success Page and editing the page title/description is breaking form builder.

      Steps to reproduce:

      1. Go to Content & Data > Forms;
      2. Click to add a new Form > add a Success Page;
      3. Try to edit the title/description of the first page;
      4. Observe the error in the browser console.

      Expected result:
      Adding a Success Page and editing the page title/description should not break form builder.

      Actual result:
      Adding a Success Page and editing the page title/description is breaking form builder

      Console log:

      Uncaught TypeError: Cannot read property 'en_US' of undefined
      at ?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldDeletedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldDuplicatedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldSetAddedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/languageIdDeletedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/LayoutProvider.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/util/Notifications.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/components/PreviewButton/PreviewButton.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/components/PublishButton/PublishButton.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/Calculator/Calculator.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/Calculator/Calculator.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleEditor/RuleEditor.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/util/pageSupport.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleEditor/RuleEditor.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleList/RuleList.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleList/RuleList.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleBuilder/RuleBuilder.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/util/StateSyncronizer.es.js:45
      at ?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/containers/Wizard/Wizard.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/containers/Wizard/Wizard.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PaginatedPageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/SimplePageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/TabbedPageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/WizardPageRenderer.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-modal@2.15.1/lib/ClayModal.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-modal@2.15.1/lib/ClayModal.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/visitors.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormSupport.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PageRenderer.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormRenderer.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/store/actions/handleActivePageUpdated.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/fetch.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/evaluation.es.js:124
      at Array.map (<anonymous>)
      at PagesVisitor._map (?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/containers/Wizard/Wizard.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/containers/Wizard/Wizard.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PaginatedPageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/SimplePageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/TabbedPageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/WizardPageRenderer.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-modal@2.15.1/lib/ClayModal.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-modal@2.15.1/lib/ClayModal.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/visitors.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormSupport.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PageRenderer.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormRenderer.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/store/actions/handleActivePageUpdated.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/fetch.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/evaluation.es.js:123)
      at PagesVisitor.mapPages (?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/containers/Wizard/Wizard.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/containers/Wizard/Wizard.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PaginatedPageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/SimplePageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/TabbedPageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/WizardPageRenderer.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-modal@2.15.1/lib/ClayModal.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-modal@2.15.1/lib/ClayModal.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/visitors.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormSupport.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PageRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/PageRenderer/PageRenderer.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormRenderer.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/components/FormRenderer/FormRenderer.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/store/actions/handleActivePageUpdated.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/fetch.es.js&/o/js/resolved-module/dynamic-data-mapping-form-renderer@5.0.0/js/metal/util/evaluation.es.js:123)
      at LayoutProvider.getPages (?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldDeletedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldDuplicatedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldSetAddedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/languageIdDeletedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/LayoutProvider.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/util/Notifications.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/components/PreviewButton/PreviewButton.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/components/PublishButton/PublishButton.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/Calculator/Calculator.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/Calculator/Calculator.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleEditor/RuleEditor.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/util/pageSupport.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleEditor/RuleEditor.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleList/RuleList.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleList/RuleList.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleBuilder/RuleBuilder.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/util/StateSyncronizer.es.js:45)
      at LayoutProvider.render (?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldDeletedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldDuplicatedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/fieldSetAddedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/handlers/languageIdDeletedHandler.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/LayoutProvider/LayoutProvider.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/util/Notifications.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/components/PreviewButton/PreviewButton.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/components/PublishButton/PublishButton.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/Calculator/Calculator.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/Calculator/Calculator.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleEditor/RuleEditor.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/util/pageSupport.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleEditor/RuleEditor.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleList/RuleList.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleList/RuleList.es.js&/o/js/resolved-module/dynamic-data-mapping-form-builder@3.0.0/js/components/RuleBuilder/RuleBuilder.es.js&/o/js/resolved-module/dynamic-data-mapping-form-web@3.0.0/admin/js/util/StateSyncronizer.es.js:48)
      at JSXRenderer.renderIncDom (?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/frontend-js-metal-web@4.0.0/bridge/metal-dom/src/all/dom.js&/o/js/resolved-module/frontend-js-metal-web$metal-position@2.1.2/lib/Geometry.js&/o/js/resolved-module/frontend-js-metal-web$metal-position@2.1.2/lib/Position.js&/o/js/resolved-module/frontend-js-metal-web$metal-position@2.1.2/lib/Align.js&/o/js/resolved-module/frontend-js-metal-web$metal-position@2.1.2/lib/all/position.js&/o/js/resolved-module/frontend-taglib-clay$clay-tooltip@2.15.1/lib/ClayTooltip.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-tooltip@2.15.1/lib/ClayTooltip.js&/o/js/resolved-module/frontend-taglib-clay@3.0.0/bridge/clay-tooltip/src/ClayTooltip.js&/o/js/resolved-module/frontend-js-metal-web@4.0.0/bridge/metal-position/src/Position.js&/o/js/resolved-module/frontend-taglib-clay$clay-link@2.15.1/lib/ClayLink.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-link@2.15.1/lib/ClayLink.js&/o/js/resolved-module/frontend-taglib-clay$clay-navigation-bar@2.15.1/lib/ClayNavigationBar.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-navigation-bar@2.15.1/lib/ClayNavigationBar.js&/o/js/resolved-module/frontend-js-metal-web@4.0.0/bridge/metal-dom/src/dom.js&/o/js/resolved-module/frontend-js-metal-web$metal-clipboard@2.0.1/lib/Clipboard.js&/o/js/resolved-module/frontend-js-metal-web$metal-jsx@2.16.8/lib/JSXRenderer.js&/o/js/resolved-module/frontend-js-metal-web$metal-jsx@2.16.8/lib/iDOMHelpers.js&/o/js/resolved-module/frontend-js-metal-web$metal-jsx@2.16.8/lib/JSXDataManager.js&/o/js/resolved-module/frontend-js-metal-web$metal-jsx@2.16.8/lib/JSXComponent.js&/o/js/resolved-module/frontend-js-metal-web$metal-jsx@2.16.8/lib/DangerouslySetHTML.js&/o/js/resolved-module/frontend-js-metal-web$metal-jsx@2.16.8/lib/Fragment.js&/o/js/resolved-module/frontend-js-metal-web$metal-jsx@2.16.8/lib/all/jsx.js&/o/js/resolved-module/dynamic-data-mapping-form-web$classnames@2.2.6/index.js:145)
      at render (?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/render/attributes.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/cleanup/unused.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/render/render.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/render/patch.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/IncrementalDomRenderer.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/all/incremental-dom.js&/o/js/resolved-module/frontend-js-metal-web$metal-soy-bundle@2.16.8/lib/bundle.js&/o/js/resolved-module/frontend-js-metal-web$metal-soy@2.16.8/lib/SoyAop.js&/o/js/resolved-module/frontend-js-metal-web$metal-soy@2.16.8/lib/Soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-icon@2.15.1/lib/ClayIcon.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-icon@2.15.1/lib/ClayIcon.js&/o/js/resolved-module/frontend-taglib-clay$clay-button@2.15.1/lib/ClayButton.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-button@2.15.1/lib/ClayButton.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayAlertBase.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayAlertBase.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayAlert.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayAlert.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayStripe.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayStripe.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayToast.soy.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/ClayToast.js&/o/js/resolved-module/frontend-taglib-clay$clay-alert@2.15.1/lib/all/alert.js:25)
      at ?browserId=other&minifierType=&languageId=en_US&b=7200&t=1559159784129&/o/js/resolved-module/frontend-js-metal-web$metal-component@2.16.8/lib/ComponentRenderer.js&/o/js/resolved-module/frontend-js-metal-web$metal-component@2.16.8/lib/Component.js&/o/js/resolved-module/frontend-js-metal-web$metal-component@2.16.8/lib/ComponentRegistry.js&/o/js/resolved-module/frontend-js-metal-web$metal-component@2.16.8/lib/all/component.js&/o/js/resolved-module/frontend-taglib-clay$clay-component@2.15.1/lib/ClayComponent.js&/o/js/resolved-module/frontend-js-metal-web$metal-state@2.7.0/lib/validators.js&/o/js/resolved-module/frontend-js-metal-web$metal-state@2.7.0/lib/Config.js&/o/js/resolved-module/frontend-js-metal-web$metal-state@2.7.0/lib/State.js&/o/js/resolved-module/frontend-js-metal-web$metal-state@2.7.0/lib/all/state.js&/o/js/resolved-module/frontend-js-metal-web$metal-web-component@2.16.8/lib/define_web_component.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/html/HTMLParser.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/html/unescape.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/html/HTML2IncDom.js&/o/js/resolved-module/frontend-js-metal-web$incremental-dom@0.5.1/dist/incremental-dom-cjs.js&/o/js/resolved-module/frontend-js-metal-web$incremental-dom-string@0.0.3/lib/incremental-dom-string.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/incremental-dom.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/data.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/changes.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/callArgs.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/incremental-dom-aop.js&/o/js/resolved-module/frontend-js-metal-web$metal-incremental-dom@2.16.8/lib/children/children.js:134
      

      Reproducible on:

      master 45ae4280460cc29e4378ae293c0879c53f2f13ed

        Attachments

          Activity

            People

            • Assignee:
              alex.candido Alex Candido
              Reporter:
              alex.candido Alex Candido
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.2.10 DXP FP1
                7.2.X
                7.2.1 CE GA2
                Master