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

Date Field mask is changed when user changes language

    Details

      Description

      Description

      When user changes the language of Web Content before filling the Date field for the default language, the Date field mask for the default language is swapped and inputted values will be lost.

      Notice that this issue only occurs for the first time user is filling the Web Content.

      Pre-conditions

      1. Go to Content & Data > Web Content > Structures tab;
      2. Add a Structure with a Date field;

      Steps to Reproduce

      1. Go to Content & Data > Web Content;
      2. Create a Web Content from the Structure with the date field;
      3. Change the language to translate (i.e.: Chinese);
      4. Go back to the default language and check the date field mask;

      Expected Result

      Date field mask should properly follow the current selected language.

      Actual Result

      When user changes the language of the Web Content to translate, the date field mask is swapped. (ActualResult_Mar29_LPS-129856.mp4)

      Reproduced In
      master: 7c3bb5dfc4d5ef92a20cf3459fb054f9bef6f646

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            emanuel.silva Emanuel Silva
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Engineering Assignee:
            Mateus Santana
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.4.0 CE GA1
                Master