-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.0 DXP SP1, Master
-
Fix Version/s: 7.0.0 DXP FP8, 7.0.0 DXP SP2, 7.0.3 CE GA4, 7.1.X, Master
-
Component/s: Staging, Staging > Export/Import
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
This issue was suppose to be fixed by LPS-64047, a unique fix for ee-6.2.x, and was even release to customers (LPE-14859) but the submitted fix did not fix the issue. LPS-64047 failed QA testing but was resolved and closed anyway. See https://issues.liferay.com/browse/LPS-64047?focusedCommentId=823436&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-823436.
When attempting to Save the selected Date Range for an Export/Import, clicking "Save" is ineffective. This bug was revealed by the fix for LPS-50357.
Reproduced in master: 2821a8cfa1ecebb2da20a668466c318ca3cf061f
Reproduced in ee-7.0.x: 1b8a39d81e7b9efd673e48b27504b74e28ecab88
Notes for master and ee-7.0.x:
- The intended functionality is unclear for master and ee-7.0.x. Unsure if this is the same issue for those version and ee-6.2.x
- Perform the following steps as the default admin user.
- All time zones except the following are affected by this issue in master only (see step 1):
- (UTC -11:00) Samoa Standard Time
- (UTC -10:00) Hawaii Standard Time
- (UTC -08:00) Alaska Standard Time
- (UTC -07:00) Pacific Standard Time
- (UTC -07:00) Mountain Standard Time (Phoenix Time)
Steps to Reproduce in master/ee-7.0.x:
- Set the user's timezone to (UTC) Coordinated Universal Time or any other time zone of your choosing.
- Create a new basic web content article.
- Go to Liferay > Content > Web Content.
- Select the three dots in the top right corner and select "Export / Import".
- Under Content select "Date Range".
- By default the date range should have an End Date of the current time, and a Start Date 24 hours in the past. This is set correctly for the UTC timezone set in step 1.
- Click "Refresh Counts".
Expected Result: The date range should be set and the content counts should be updated.
Actual Result: You see an error that says Selected dates cannot be in the future.
Reproduced in ee-6.2.x: a334b7c79a348b8b017117853c8923751f53ed75
Steps to Reproduce in ee-6.2.x:
- Set the user's timezone to (UTC) Coordinated Universal Time or any other time zone of your choosing.
- Create a new basic web content article.
- Go to Admin > Site Administration > Content.
- Select the gear in the top right and select "Export / Import".
- Under Content select "Date Range".
- By default the date range should have an End Date of the current time, and a Start Date 24 hours in the past. This is set correctly for the UTC timezone set in step 1.
- Click OK to set the date range.
Expected Result: The date range should be set and the content counts should be updated.
Actual Result: The hidden window flickers but nothing really changes and no errors are displayed. If you resize the date range popup you can see an error that says Selected dates cannot be in the future. This makes it impossible to export the content that was just created a few minutes ago using the Date Range option.
Additional Notes from orignal LPS-64047: This bug was resolved in master by the following commits from LPS-52157 (LPS-52157 is not reproducible in ee-6.2.x so the whole fix does not need to be backported):
- Discovered while testing
-
LPS-66772 Locale.toLanguageTag() used in backport of LPS-64047 to ee-6.2.x does not exist in Java 6
- Closed
- is related to
-
LPS-64047 Clicking on "Save" for Date Range in Export/Import does has no effect
- Closed
-
LPS-66604 Date Range in Export/Import does not work with Internet Explorer
- Closed
- relates
-
LPS-68894 Date range validation broken
- Closed
- Testing discovered
-
LPS-67866 Selecting content for Export/Import with Date Range does not work
- Closed