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

Calendar Bookings are not indexed properly when being recycled

    Details

      Description

      Note, this issue relies on LPS-76651 for testing via the search portlets.  Without LPS-76651, you must look at the index in Elastic in order to determine the results.

      When removing a calendar booking and sending it to the recycle bin, the index is deleted instead of being updated.  This prevents searching through the recycle bin portlet's search bar for the calendar booking.

      Steps to reproduce:

      1. Add a calendar portlet to a site page
      2. Create a new calendar booking with the title "Calendar Title" and the description "Calendar Description"
      3. Search for "Title", "Description", or "Calendar" in the search portlet.  Notice each search returns the calendar booking.
      4. Or, view the index within Elastic
      5. Delete the calendar booking
      6. Go to the recycle bin portlet and perform the same search.
      7. Or, attempt to view the index within Elastic

       

      Expected Results: the calendar booking is returned with each search, and the index is present

      Actual Results: The calendar booking is not returned because the index is not present.

      Reproduced in master 5d3a9a4c29aa1deb43a189b298f60b1a4195c0c8

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP37
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master