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

Error message is displayed and translations are lost when publishing a WebContent with an upload field

    Details

      Description

      Description

      When translating a Web Content, if user chooses a file on the Upload field, an error message is displayed and if user tries again, the translations for all other fields are lost.

      Steps to Reproduce

      1. Go to Content and Data >  Web Content and create a Web Content from a Structure which contains at least an Upload field and any other field;
      2. Insert some values to the default language and some translated values for another language;
      3. Click to Publish (check that an error message is displayed and the value of the upload field is erased);
      4. Upload a file again on the Upload Field and click on publish (now the Web Content is saved but the translated values are lost)

      Expected Result

      Choosing a localized value for the uploaded field should not trigger an error message nor erase the translated data on other fields.

      Actual Result

      An error message is displayed as the uploaded file is lost. And if user tries uploading again, the translated data is lost. (ActualResult_Jan14_LPS-125895.mp4)

      Reproduced In
      master: 9abb5412f865531a30c879edc61e94795e419bce

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dereck.portela Dereck Portela
              Reporter:
              emanuel.silva Emanuel Silva
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Marcos Martins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 29 weeks, 6 days ago

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  Master