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

Update Error Page when Segments are Invalid

Details

    • TANGO | Mid Term Plan, TANGO | #90 DEV | Nov28-Dec12, TANGO | #91 DEV | Dec12-Jan09, TANGO | #92 DIS | Jan09-Jan23

    Description

      User Story

      As a Segment Editor, I want to see a proper error page when my segment is invalid, so that I have a little more context when my segment in invalid.

      Design

      [Figma]

      Acceptance Criteria

      1. When a user opens a segment that is invalid, the segment editor should be replaced with an Empty State animation with the following text:
        • Segment not found
          The criteria used in this segment is no longer available.
      2. Below the text there should be a Go to Segments button. 
      3. Clicking on this button should return the user to the Segments page. 
      4. Segments should be considered invalid when:
        • A site the segment was scoped to is deleted. 
        • A custom field used in the segment is deleted. 
        • A segment used in the segment is deleted. 

      Testing Scenarios

      Acceptance Criteria
       
      Testing Scenarios
       
      Test Strategy
       
      Covered by frontend test? (Yes/No)
       
      Covered by backend test? (Yes/No)
       
      When a user opens a segment that is invalid, the segment editor should be replaced with an Empty State animation with the following text:
      Segment not found The criteria used in this segment is no longer available.
      • Given the Segments editor
      • When a user opens a segment belonging to a site
      • And the site has been deleted
      • Then the segment editor is replaced with an Empty State animation with the following text:
        Segment not found The criteria used in this segment is no longer available.
      Medium -  
       
      • Given the Segments editor
      • When a user opens a segment
      • And a custom field used in the segment has been deleted
      • Then the segment editor is replaced with an Empty State animation with the following text:
        Segment not found The criteria used in this segment is no longer available.
      Medium Yes  
       
      • Given the Segments editor
      • When a user opens a segment based on other segments
      • And a segment used in the segment has been deleted
      • Then the segment editor is replaced with an Empty State animation with the following text:
        Segment not found The criteria used in this segment is no longer available.
      Medium -  
      Below the text there should be a Go to Segments button
      • Given the Segments editor
      • When a user opens a segment that is invalid
      • Then a Go to Segments button is shown
      Low Yes  
      Clicking on this button should return the user to the Segments page
      • Given the Segments editor
      • When a user opens a segment that is invalid
      • And the Go to Segments button is clicked
      • Then the user is lead to the Segments page
      High No  

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Validated by QA, Product Management and Design;
      • No critical bug related to Story scope (FP5 or Impedibugs);
      • Make sure that all system documentation were updated (if necessary)

      Attachments

        Issue Links

          Activity

            People

              stefan.tanasie Robert Stefan Tanasie
              joseph.pak Joseph Pak
              Rubén Heras Rubén Heras
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Packages

                  Version Package
                  7.4.13 DXP U60