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

Clicking on "Save" for Date Range in Export/Import does has no effect - continued

    Details

      Description

      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:

      1. 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
      2. Perform the following steps as the default admin user.
      3. 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:

      1. Set the user's timezone to (UTC) Coordinated Universal Time or any other time zone of your choosing.
      2. Create a new basic web content article.
      3. Go to Liferay > Content > Web Content.
      4. Select the three dots in the top right corner and select "Export / Import".
      5. Under Content select "Date Range".
      6. 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.
      7. 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:

      1. Set the user's timezone to (UTC) Coordinated Universal Time or any other time zone of your choosing.
      2. Create a new basic web content article.
      3. Go to Admin > Site Administration > Content.
      4. Select the gear in the top right and select "Export / Import".
      5. Under Content select "Date Range".
      6. 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.
      7. 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):

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sylvia.luan Sylvia Luan
              Reporter:
              michael.prigge Michael Prigge
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 10 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP8
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master