Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.2.X, Master
-
7.2.x
-
Committed
-
5
-
App_Builder_7.3_11, App_Builder_7.3_12
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)
- Go to Control Panel > App Builder > Custom Objects > Add a Custom Object;
- Add a Form View with a Date field > Add a Table View > Add a Widget App using the created Form Views and Table Views;
- Add the Widget to a page;
- Add an entry choosing a Date through Date picker (using the mouse).
Steps to Reproduce (Bug 2)
- Go to Control Panel > App Builder > Custom Objects > Add a Custom Object;
- Add a Form View > Add a Date field to the form view;
- Add a Table View;
- Deploy an app using the Form View and Table View;
- Try to load the deployed app.
Browser console log:
?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/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]/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/[email protected]/cjs/scheduler.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react-dom.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/render.es.js&/o/js/resolved-module/[email protected]/js/hooks/useEventListener.es.js&/o/js/resolved-module/[email protected]/js/hooks/useIsMounted.es.js&/o/js/resolved-module/[email protected]/js/hooks/useInterval.es.js&/o/js/resolved-module/[email protected]/js/hooks/usePrevious.es.js&/o/js/resolved-module/[email protected]/js/hooks/useTimeout.es.js&/o/js/resolved-module/[email protected]/js/index.es.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/index.es.js&/o/js/resolved-module/[email protected]/liferay/surface/Surface.es.js&/o/js/resolved-module/[email protected]/liferay/util/Utils.es.js&/o/js/resolved-module/[email protected]/liferay/app/App.es.js&/o/js/resolved-module/[email protected]/liferay/screen/EventScreen.es.js&/o/js/resolved-module/[email protected]/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/[email protected]/js/components/table/Table.es.js&/o/js/resolved-module/[email protected]/js/components/table/TableWithPagination.es.js&/o/js/resolved-module/[email protected]/js/components/list-view/ListView.es.js&/o/js/resolved-module/[email protected]/js/pages/entry/ListEntries.es.js&/o/js/resolved-module/[email protected]/js/pages/entry/ListEntriesApp.es.js:33 at ?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/o/js/resolved-module/[email protected]/js/components/table/Table.es.js&/o/js/resolved-module/[email protected]/js/components/table/TableWithPagination.es.js&/o/js/resolved-module/[email protected]/js/components/list-view/ListView.es.js&/o/js/resolved-module/[email protected]/js/pages/entry/ListEntries.es.js&/o/js/resolved-module/[email protected]/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/[email protected]/js/components/table/Table.es.js&/o/js/resolved-module/[email protected]/js/components/table/TableWithPagination.es.js&/o/js/resolved-module/[email protected]/js/components/list-view/ListView.es.js&/o/js/resolved-module/[email protected]/js/pages/entry/ListEntries.es.js&/o/js/resolved-module/[email protected]/js/pages/entry/ListEntriesApp.es.js:22) at dh (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/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]/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/[email protected]/cjs/scheduler.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react-dom.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/render.es.js&/o/js/resolved-module/[email protected]/js/hooks/useEventListener.es.js&/o/js/resolved-module/[email protected]/js/hooks/useIsMounted.es.js&/o/js/resolved-module/[email protected]/js/hooks/useInterval.es.js&/o/js/resolved-module/[email protected]/js/hooks/usePrevious.es.js&/o/js/resolved-module/[email protected]/js/hooks/useTimeout.es.js&/o/js/resolved-module/[email protected]/js/index.es.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/index.es.js&/o/js/resolved-module/[email protected]/liferay/surface/Surface.es.js&/o/js/resolved-module/[email protected]/liferay/util/Utils.es.js&/o/js/resolved-module/[email protected]/liferay/app/App.es.js&/o/js/resolved-module/[email protected]/liferay/screen/EventScreen.es.js&/o/js/resolved-module/[email protected]/liferay/screen/ActionURLScreen.es.js:1578) at Jh (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/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]/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/[email protected]/cjs/scheduler.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react-dom.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/render.es.js&/o/js/resolved-module/[email protected]/js/hooks/useEventListener.es.js&/o/js/resolved-module/[email protected]/js/hooks/useIsMounted.es.js&/o/js/resolved-module/[email protected]/js/hooks/useInterval.es.js&/o/js/resolved-module/[email protected]/js/hooks/usePrevious.es.js&/o/js/resolved-module/[email protected]/js/hooks/useTimeout.es.js&/o/js/resolved-module/[email protected]/js/index.es.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/index.es.js&/o/js/resolved-module/[email protected]/liferay/surface/Surface.es.js&/o/js/resolved-module/[email protected]/liferay/util/Utils.es.js&/o/js/resolved-module/[email protected]/liferay/app/App.es.js&/o/js/resolved-module/[email protected]/liferay/screen/EventScreen.es.js&/o/js/resolved-module/[email protected]/liferay/screen/ActionURLScreen.es.js:1722) at mj (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/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]/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/[email protected]/cjs/scheduler.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react-dom.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/render.es.js&/o/js/resolved-module/[email protected]/js/hooks/useEventListener.es.js&/o/js/resolved-module/[email protected]/js/hooks/useIsMounted.es.js&/o/js/resolved-module/[email protected]/js/hooks/useInterval.es.js&/o/js/resolved-module/[email protected]/js/hooks/usePrevious.es.js&/o/js/resolved-module/[email protected]/js/hooks/useTimeout.es.js&/o/js/resolved-module/[email protected]/js/index.es.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/index.es.js&/o/js/resolved-module/[email protected]/liferay/surface/Surface.es.js&/o/js/resolved-module/[email protected]/liferay/util/Utils.es.js&/o/js/resolved-module/[email protected]/liferay/app/App.es.js&/o/js/resolved-module/[email protected]/liferay/screen/EventScreen.es.js&/o/js/resolved-module/[email protected]/liferay/screen/ActionURLScreen.es.js:2440) at jj (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/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]/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/[email protected]/cjs/scheduler.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react-dom.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/render.es.js&/o/js/resolved-module/[email protected]/js/hooks/useEventListener.es.js&/o/js/resolved-module/[email protected]/js/hooks/useIsMounted.es.js&/o/js/resolved-module/[email protected]/js/hooks/useInterval.es.js&/o/js/resolved-module/[email protected]/js/hooks/usePrevious.es.js&/o/js/resolved-module/[email protected]/js/hooks/useTimeout.es.js&/o/js/resolved-module/[email protected]/js/index.es.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/index.es.js&/o/js/resolved-module/[email protected]/liferay/surface/Surface.es.js&/o/js/resolved-module/[email protected]/liferay/util/Utils.es.js&/o/js/resolved-module/[email protected]/liferay/app/App.es.js&/o/js/resolved-module/[email protected]/liferay/screen/EventScreen.es.js&/o/js/resolved-module/[email protected]/liferay/screen/ActionURLScreen.es.js:2181) at Z (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/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]/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/[email protected]/cjs/scheduler.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react-dom.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/render.es.js&/o/js/resolved-module/[email protected]/js/hooks/useEventListener.es.js&/o/js/resolved-module/[email protected]/js/hooks/useIsMounted.es.js&/o/js/resolved-module/[email protected]/js/hooks/useInterval.es.js&/o/js/resolved-module/[email protected]/js/hooks/usePrevious.es.js&/o/js/resolved-module/[email protected]/js/hooks/useTimeout.es.js&/o/js/resolved-module/[email protected]/js/index.es.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/index.es.js&/o/js/resolved-module/[email protected]/liferay/surface/Surface.es.js&/o/js/resolved-module/[email protected]/liferay/util/Utils.es.js&/o/js/resolved-module/[email protected]/liferay/app/App.es.js&/o/js/resolved-module/[email protected]/liferay/screen/EventScreen.es.js&/o/js/resolved-module/[email protected]/liferay/screen/ActionURLScreen.es.js:2141) at $i (?browserId=other&minifierType=&languageId=en_US&b=7201&t=1572446348869&/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]/warning.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/ToastContainer.js&/o/js/resolved-module/@frontend-taglib-clay$clayui/[email protected]/lib/index.js&/o/js/resolved-module/[email protected]/cjs/scheduler.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/cjs/react-dom.production.min.js&/o/js/resolved-module/[email protected]/index.js&/o/js/resolved-module/[email protected]/js/render.es.js&/o/js/resolved-module/[email protected]/js/hooks/useEventListener.es.js&/o/js/resolved-module/[email protected]/js/hooks/useIsMounted.es.js&/o/js/resolved-module/[email protected]/js/hooks/useInterval.es.js&/o/js/resolved-module/[email protected]/js/hooks/usePrevious.es.js&/o/js/resolved-module/[email protected]/js/hooks/useTimeout.es.js&/o/js/resolved-module/[email protected]/js/index.es.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/index.es.js&/o/js/resolved-module/[email protected]/liferay/surface/Surface.es.js&/o/js/resolved-module/[email protected]/liferay/util/Utils.es.js&/o/js/resolved-module/[email protected]/liferay/app/App.es.js&/o/js/resolved-module/[email protected]/liferay/screen/EventScreen.es.js&/o/js/resolved-module/[email protected]/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
- is duplicated by
-
LPS-103992 It is not possible to load an app deployed with a Form View containing a Date field
- Closed
- Testing discovered
-
LPS-96000 As an App Adm, I want to publish my app as a widget
-
- Closed
-
-
LPS-99969 As an App User, I want to add, update, view and delete entries of an App in a widget
-
- Closed
-
-
LPS-102580 As an App User, I want to view details of an entry in an App
-
- Closed
-