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

A required date field without a pre populated value returns 11/30/1899

    Details

      Description

      In web content when a structure has a date field that is required, but does not have a predefined value, the date displayed is 11/30/1899.

      Steps to reproduce:

      1. Go to Content -> Web Content
      2. Create a Web Content Structure with a date field
      3. Make the date field required
      4. Create a Web Content Template based on this new structure
      5. Add a new Web Content using this new structure and template

      Expected Results:
      The date field will display today's date

      Actual Results:
      The date field will display 11/30/1899

        Attachments

        1. 6.2.png
          29 kB
          Steven Gao
        2. 7.0.jpg
          28 kB
          Steven Gao
        3. bug.gif
          2.63 MB
          Jonathan Mak
        4. pass.jpg
          60 kB
          Steven Gao
        5. reproduce.png
          50 kB
          Steven Gao

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 1 week ago

                  Packages

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