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

Date Range in Export/Import does not work with Internet Explorer

    Details

      Description

      Preconditions:

      1.- Web browser Internet Explorer v[8..11]

      Steps to reproduce:

      1. Create some public pages with some content (Hello World portlet, for example)

      In Liferay 7:

      1. Go to Publish -> Export -> Add custom export
      2. In Content select "Choose Content"
      3. Check "Date Range"
      4. Choose a correct Start Date and End Date (that is, both previous to today and start previous to end)
      5. Click on Refresh Counts

      In Liferay 6.2:

      1. Go to Admin -> Pages -> Export
      2. In Content check "Choose Content"
      3. In "Date Range" click on "Change"
      4. In "Date Range" modal window check "Date Range"
      5. Choose a correct Start Date and End Date (that is, both previous to today and start previous to end)
      6. 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"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                felix.zhang Felix Zhang
                Reporter:
                sergio.alonso Sergio Alonso
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 37 weeks ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP5
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  Master