-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.1 CE GA2
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP5, 7.0.0 DXP SP1, 7.0.3 CE GA4, Master
-
Component/s: Staging, Staging > Export/Import
-
Branch Version/s:7.0.x, 6.2.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Browsers:Internet Explorer 10, Internet Explorer 11, Internet Explorer 8, Internet Explorer 9
-
Git Pull Request:
Preconditions:
1.- Web browser Internet Explorer v[8..11]
Steps to reproduce:
- Create some public pages with some content (Hello World portlet, for example)
In Liferay 7:
- Go to Publish -> Export -> Add custom export
- In Content select "Choose Content"
- Check "Date Range"
- Choose a correct Start Date and End Date (that is, both previous to today and start previous to end)
- Click on Refresh Counts
In Liferay 6.2:
- Go to Admin -> Pages -> Export
- In Content check "Choose Content"
- In "Date Range" click on "Change"
- In "Date Range" modal window check "Date Range"
- Choose a correct Start Date and End Date (that is, both previous to today and start previous to end)
- Click on "OK" button
Expected behaviour:
The content to be exported is refreshed.
Actual behaviour:
An error notice is displayed: "Selected dates cannot be in the future"
Source:
https://github.com/liferay/liferay-portal/blob/master/modules/apps/web-experience/export-import/export-import-web/src/main/resources/META-INF/resources/js/main.js#L954-L961
Variable "today" gets an "Invalid date"