Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-681

Validation doesn't work for User Segment and Campaign Display portlet configuration

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.x
    • Fix Version/s: 2.x, 2.0
    • Component/s: Content Targeting
    • Labels:
      None

      Description

      Steps:

      1. Add a user segment, campaign, web content article, and user segment content display portlet (uscd)
      2. Configure the uscd and do something illegal like selecting a content but no user seg/campaign. Or select otherwise panel and click the radio button to display content, but don't select the content.
      3. Save the configuration and assert there is a success message
      4. This should fail with a validation error
      5. In some cases it will save successfully and display nothing with a preview
        Console error
        23:08:59,368 ERROR [liferay/analytics-16][JDBCExceptionReporter:234] Duplicate entry '32560-32601' for key 'IX_DC6100CC'
        

      Reproduced on:
      Tomcat 8.0.32 + MariaDB 10.0. Content Targeting 2.x RC3. Portal master GIT ID: 70d07e83240e79e79106411573febe342600ea86.

        Attachments

        1. anim.gif
          2.24 MB
          Evan Nagayama

          Issue Links

            Activity

              People

              • Assignee:
                evan.nagayama Evan Nagayama (Inactive)
                Reporter:
                evan.nagayama Evan Nagayama (Inactive)
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2.x
                  2.0