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

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 weeks, 3 days ago