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

Bulk delete UI has multiple errors for custom fields

Details

    Description

      Description: bulk delete UI broken for custom fields

      Steps to reproduce:

      1. Create a couple of custom fields
        • Control Panel > Custom Fields > Document > Add new > Select Input Field
        • Name: "test-field-1"
        • Save
        • Repeat for test-field-2
      2. Go back to Control Panel > Custom Fields > Document 
        • Select checkbox next to test-field-1 
        • ERROR #1 - Blue banner at the top says `1 of Selected` instead of `1 of 2 selected`
      3. Delete the selected custom field (top right trash icon)
        • ERROR #2 - Success message appears, field is deleted, but the banner at the top remains
        • Clicking on the trashcan again crashes the portlet: `*Error:*The custom field could not be found`

      Error #1

      Expected: Blue banner says "1 of # selected"  

       Actual: Blue banner is missing the # 

       

       

      Error #2

      Expected: Blue banner disappears after action complete

       Actual: Blue banner remains, and allows for portlet crash on trash re-click

      Attachments

        Activity

          People

            lily.li Lily Li
            ekaterina.nesterovich Ekaterina Nesterovich (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Murilo Stodolni Murilo Stodolni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              20 weeks, 2 days ago

              Packages

                Version Package
                7.4.3.35 CE GA35
                Master