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

Date can be saved with invalid values in web content

    Details

      Description

      Steps:

      1. Go to Content>WebContent>Structures
      2. Add new structure with Date field
      3. Add new web content with that structure
      4. enter invalid value in Date field (e.g. test)

      Actual result: Web content is successfully saved - invalid value in Date is replaced with random Date. Same behavior is provided when configuring default values.
      Expected: Web content can't be saved with invalid value.

      Reproducible:

      • CentOS, MySQL 5.7, Tomcat 9, Chrome, FF
      • 7.1.x Master git #477eb71f4bb27b80f5dadc61fe48a030c2f02678

      Priority: L2 + S2 = 2

        Attachments

          Activity

            People

            Assignee:
            fortunato.maldonado Fortunato Maldonado
            Reporter:
            jakub.vavera Jakub Vavera
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 30 weeks, 1 day ago

                Packages

                Version Package
                Master