Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-88629 As a Marketer I can localize segment names
  3. LPS-95699

[BUG] The user can save one segment without filling the value for the "site default language"

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Segments Editor
    • Labels:

      Description

      Requirement:
      x
       
      Step-by-Step:

      1. Go to Liferay > People > Segments
      2. Click on "+" icon
      3. Create some condition criteria
      4. in the title field, change to other language and fill the title
      5. inspect the save button
      6. remove the "disable" parameter
      7. press the save button

      Actual result:
      With the default language in blank, the user can create the segment.

      Expected:
      Saving without filling the value for the "site default language" makes the input report the error, gathers the focus and switches the selected language to the site default one

      Environment: master(Liferay DXP 7.2 CE) localhost
      Commit: 758f055954410ca7c1d8ba46b18fdd28ea9c611e

      Evidence:
      BUG-LPS-95699.webm

      Note
      Even if the frontend treatment failed, we should have some treatment for that in the backend

      Browsers:

      • Firefox Latest
      • Chrome Latest

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                manoel.cyreno Manoel Cyreno
                Recent user:
                Manoel Cyreno
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 17 weeks, 1 day ago

                  Packages

                  Version Package
                  Master