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

Date validation does not work for 'dd/MM/yyyy' format

    Details

    • Fix Priority:
      4

      Description

      Steps to reproduce

      1. Assemble an environment with Liferay portal 6.2 sp 11 ;
      2. Install the patch 'portal-54-6210';
      3. After the patch installation, start the portal and log on it;
      4. Click on your screen name > My Account > Display Settings > Language > change the language to brazilian portuguese;
      5. Save and close the modal window;
      6. Refresh the home page;
      7. Add a Web Content Display portlet;
      8. Create an article and fill the title and body;
      9. Click on 'Publish' button;

      Expected Behaviour:

      The content created will be published;

      Actual Behaviour:

      The content is not published because the dates are highlighted as invalid.

      Obs.: The brazilian date format is dd/mm/yyyy, but after the installation of the patch above, the portal only accepts this format: mm/dd/yyyy . The same issue occurs even when the 'portal-55-6210' is installed, but without any patch installation this issue doesn't occurs. Obviously, the issue will occur always after the 12th day of any month, so if you reproduce the same steps above from the 1st to the 12th day, nothing wrong will happen.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lino.alves Lino Alves
              Reporter:
              lino.alves Lino Alves
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 19 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 M7