Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-16703

Web Content with Image field can create useless JournalArticleImage entries

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.2.X EE
    • Fix Version/s: None
    • Component/s: WCM
    • Labels:
      None

      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:
              support-ee EE Support
              Reporter:
              balazs.safrany-kovalik Balázs Sáfrány-Kovalik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package