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

Web Content with Image field can create useless JournalArticleImage entries

    Details

      Description

      Reproduction steps

      1. Create a new Web Content Structure with an Image field
      2. Add a Template to the Structure
      3. Create a new Web Content based on the structure and add an Image
      4. Verify in DB, that 1 record is added to the JournalArticleImage table
      5. Create another Web Content based on the structure, but do not upload any image

       Expected behavior: No record is added to the JournalArticleImage table
       Actual behavior: 2 records are added to the JournalArticleImage table. One with en_US languageId and one without languageId. This creates useless data in the DB.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              balazs.safrany-kovalik Balázs Sáfrány-Kovalik
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP78
                  7.0.10.11 DXP SP11
                  7.0.X