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

The Date field entry is not persisted when choosing a Date through Date picker (using the mouse)

    Details

      Description

      Description

      Bug1: The Date field entry is not persisted when choosing a Date through Date picker (using the mouse). If the user enters a Date by typing the issue is not reproducible and the entry is persisted.

      Bug2: It is not possible to load the table view of an app deployed with a Form View containing only a Date field after submitting an entry.

      Steps to Reproduce (Bug 1)

      1. Go to Control Panel > App Builder > Custom Objects > Add a Custom Object;
      2. Add a Form View with a Date field > Add a Table View > Add a Widget App using the created Form Views and Table Views;
      3. Add the Widget to a page;
      4. Add an entry choosing a Date through Date picker (using the mouse).

      Steps to Reproduce (Bug 2)

      1. Go to Control Panel > App Builder > Custom Objects > Add a Custom Object;
      2. Add a Form View > Add a Date field to the form view;
      3. Add a Table View;
      4. Deploy an app using the Form View and Table View;
      5. Try to load the deployed app.

      Browser console log:

      ?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/cjs/react.production.min.js&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/index.js&/o/js/resolved-module/frontend-taglib-clay$warning@4.0.3/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/icon@3.0.0/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/index.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/cjs/scheduler.production.min.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/index.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/cjs/react-dom.production.min.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/index.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/render.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useEventListener.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useIsMounted.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useInterval.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/usePrevious.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useTimeout.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/index.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/throttle.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/index.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/surface/Surface.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/util/Utils.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/app/App.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/EventScreen.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/ActionURLScreen.es.js:1847 TypeError: Cannot read property 'Date' of undefined
       at ?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/app-builder-web@1.0.0/js/components/table/Table.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/components/table/TableWithPagination.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/components/list-view/ListView.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/pages/entry/ListEntries.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/pages/entry/ListEntriesApp.es.js:33
       at ?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/app-builder-web@1.0.0/js/components/table/Table.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/components/table/TableWithPagination.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/components/list-view/ListView.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/pages/entry/ListEntries.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/pages/entry/ListEntriesApp.es.js:22
       at Array.map (<anonymous>)
       at _default (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/app-builder-web@1.0.0/js/components/table/Table.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/components/table/TableWithPagination.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/components/list-view/ListView.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/pages/entry/ListEntries.es.js&/o/js/resolved-module/app-builder-web@1.0.0/js/pages/entry/ListEntriesApp.es.js:22)
       at dh (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/cjs/react.production.min.js&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/index.js&/o/js/resolved-module/frontend-taglib-clay$warning@4.0.3/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/icon@3.0.0/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/index.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/cjs/scheduler.production.min.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/index.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/cjs/react-dom.production.min.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/index.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/render.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useEventListener.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useIsMounted.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useInterval.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/usePrevious.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useTimeout.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/index.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/throttle.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/index.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/surface/Surface.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/util/Utils.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/app/App.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/EventScreen.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/ActionURLScreen.es.js:1578)
       at Jh (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/cjs/react.production.min.js&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/index.js&/o/js/resolved-module/frontend-taglib-clay$warning@4.0.3/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/icon@3.0.0/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/index.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/cjs/scheduler.production.min.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/index.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/cjs/react-dom.production.min.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/index.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/render.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useEventListener.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useIsMounted.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useInterval.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/usePrevious.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useTimeout.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/index.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/throttle.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/index.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/surface/Surface.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/util/Utils.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/app/App.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/EventScreen.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/ActionURLScreen.es.js:1722)
       at mj (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/cjs/react.production.min.js&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/index.js&/o/js/resolved-module/frontend-taglib-clay$warning@4.0.3/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/icon@3.0.0/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/index.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/cjs/scheduler.production.min.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/index.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/cjs/react-dom.production.min.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/index.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/render.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useEventListener.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useIsMounted.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useInterval.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/usePrevious.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useTimeout.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/index.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/throttle.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/index.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/surface/Surface.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/util/Utils.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/app/App.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/EventScreen.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/ActionURLScreen.es.js:2440)
       at jj (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/cjs/react.production.min.js&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/index.js&/o/js/resolved-module/frontend-taglib-clay$warning@4.0.3/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/icon@3.0.0/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/index.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/cjs/scheduler.production.min.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/index.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/cjs/react-dom.production.min.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/index.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/render.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useEventListener.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useIsMounted.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useInterval.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/usePrevious.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useTimeout.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/index.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/throttle.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/index.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/surface/Surface.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/util/Utils.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/app/App.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/EventScreen.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/ActionURLScreen.es.js:2181)
       at Z (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/cjs/react.production.min.js&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/index.js&/o/js/resolved-module/frontend-taglib-clay$warning@4.0.3/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/icon@3.0.0/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/index.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/cjs/scheduler.production.min.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/index.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/cjs/react-dom.production.min.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/index.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/render.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useEventListener.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useIsMounted.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useInterval.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/usePrevious.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useTimeout.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/index.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/throttle.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/index.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/surface/Surface.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/util/Utils.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/app/App.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/EventScreen.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/ActionURLScreen.es.js:2141)
       at $i (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/cjs/react.production.min.js&/o/js/resolved-module/frontend-js-react-web$react@16.9.0/index.js&/o/js/resolved-module/frontend-taglib-clay$warning@4.0.3/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/icon@3.0.0/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/alert@3.0.0/lib/index.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/cjs/scheduler.production.min.js&/o/js/resolved-module/frontend-js-react-web$scheduler@0.15.0/index.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/cjs/react-dom.production.min.js&/o/js/resolved-module/frontend-js-react-web$react-dom@16.9.0/index.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/render.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useEventListener.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useIsMounted.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useInterval.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/usePrevious.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/hooks/useTimeout.es.js&/o/js/resolved-module/frontend-js-react-web@2.0.0/js/index.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/liferay/throttle.es.js&/o/js/resolved-module/frontend-js-web@4.0.0/index.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/surface/Surface.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/util/Utils.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/app/App.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/EventScreen.es.js&/o/js/resolved-module/frontend-js-spa-web@4.0.0/liferay/screen/ActionURLScreen.es.js:2083)

      Expected Result

      Bug1: The Date field entry is persisted.

      Bug2: It is possible to load the table view of an app deployed with a Form View containing only a Date field after submitting an entry.

      Actual Result

      Bug1: The Date field entry is not persisted.

      Bug2: It is not possible to load the table view of an app deployed with a Form View containing only a Date field after submitting an entry.

      Reproduced In

      master: 962a82155b6b6a1fa4fb69f5ce246e5b02518af3

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alex.candido Alex Candido
              Reporter:
              alex.candido Alex Candido
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 7 weeks, 2 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP4
                  7.2.X
                  7.3.0 CE GA1
                  7.3.10 DXP GA1
                  Master