Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21759

[Public API] Trashed objects will show on searches

    XMLWordPrintable

Details

    Description

      having an trashed object with value "123" of fieldtype eZInteger and searching for that value will return the trashed object.

      Steps:

      Scenario: Trashed Content object won't show on search
         Given I have a Content object "A" with:
              | Field | Value |
              | Name  | 123   |
           And I send to trash Content object "A"
          When I search for:
              | Query type | Query setting | Query |
              | Field      | Name          | 123   |
          Then I see 0 results
      

      for code example see: https://gist.github.com/MLoureiro/82b0bec7660fe1b291aa

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 45 minutes
                2h 45m