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

CI is not refreshed when item from ezobjectrelationlist is removed permanently

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.3.2, 2.4.0
    • Fix Version/s: 2.3.3, 2.4.2
    • Component/s: Field types
    • Labels:

      Description

      Preconditions:

      Content type with ezobjectrelationlist and eztextline, one article added

      Steps:

      1. Click Create and select CT with ezobjectrelationlist
      2. Add one article to the relation field and publish
      3. Remove permanently attached item and go to the view mode of CI with ezobjectrelationlist

      Actual result:

      There is still an articles in ezobjectrelationlist with (in Trash) information

      Expected result:

      Ezobjectrelationlist field is empty.

        Issue Links

          Activity

          Barbara Grajczyk created issue -
          Barbara Grajczyk made changes -
          Field Original Value New Value
          Description h5. Preconditions:
          Content type with ezobjectrelationlist and eztextline, two articles added

          h5. Steps:
          1. Click Create and make a draft (just Save) of CI with ezobjectrelationlist, add two articles to this field
          2. Send to trash one of these articles
          3. Go to trash and empty it
          4. Go to Dashboard and click on edit button of the draft from step 1

          h5. Actual result:
          There are still two articles in ezobjectrelationlist

          h5. Expected result:
          Only one article in ezobjectrelationlist
          h5. Preconditions:
          Content type with ezobjectrelationlist and eztextline, two articles added

          h5. Steps:
          1. Click Create and make a draft (just Save) of CI with ezobjectrelationlist, add two articles to this field
          2. Send to trash one of these articles
          3. Go to trash and empty it
          4. Go to Dashboard and click on edit button of the draft from step 1

          h5. Actual result:
          There are still two articles in ezobjectrelationlist

          h5. Expected result:
          Only one article in ezobjectrelationlist

          h5. Another situation:
          Sth similar happens when we add one item to ezobjectrelationlist and Publish. Then remove permanently attached item and go to the view mode of CI with ezobjectrelationlist - it will be still there. If you go to edit mode, relation field becomes empty.
          Barbara Grajczyk made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Michał Szołtysek made changes -
          Link This issue relates to EZP-28781 [ EZP-28781 ]
          Michał Szołtysek made changes -
          Affects Version/s 2.4.0 [ 15091 ]
          Michał Szołtysek made changes -
          Labels v2 v2 v2.4
          Michał Szołtysek made changes -
          Link This issue discovered while testing EZP-29981 [ EZP-29981 ]
          Michał Szołtysek made changes -
          Affects Version/s 2.3.2 [ 15088 ]
          Michał Szołtysek made changes -
          Labels v2 v2.4 v2 v2.3 v2.4
          Barbara Grajczyk made changes -
          Description h5. Preconditions:
          Content type with ezobjectrelationlist and eztextline, two articles added

          h5. Steps:
          1. Click Create and make a draft (just Save) of CI with ezobjectrelationlist, add two articles to this field
          2. Send to trash one of these articles
          3. Go to trash and empty it
          4. Go to Dashboard and click on edit button of the draft from step 1

          h5. Actual result:
          There are still two articles in ezobjectrelationlist

          h5. Expected result:
          Only one article in ezobjectrelationlist

          h5. Another situation:
          Sth similar happens when we add one item to ezobjectrelationlist and Publish. Then remove permanently attached item and go to the view mode of CI with ezobjectrelationlist - it will be still there. If you go to edit mode, relation field becomes empty.
          h5. Preconditions:
          Content type with ezobjectrelationlist and eztextline, one article added

          h5. Steps:
          1. Click Create and select CT with ezobjectrelationlist
          2. Add one article to the relation field and publish
          3. Remove permanently attached item and go to the view mode of CI with ezobjectrelationlist

          h5. Actual result:
          There is still an articles in ezobjectrelationlist with _(in Trash)_ information

          h5. Expected result:
          Ezobjectrelationlist field is empty.
          Barbara Grajczyk made changes -
          Summary Draft is not refreshed when item from ezobjectrelationlist is removed permanently CI is not refreshed when item from ezobjectrelationlist is removed permanently
          Show
          Barbara Grajczyk added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2515 PR merged: https://github.com/ezsystems/ezpublish-kernel/commit/77d0bb8577ab8fba2a79b9d35670f67f3c6b3747
          Barbara Grajczyk made changes -
          Status Confirmed [ 10037 ] Closed [ 6 ]
          Fix Version/s 2.3.3 [ 15096 ]
          Fix Version/s 2.4.2 [ 15111 ]
          Resolution Fixed [ 1 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          41d 45m 1 Barbara Grajczyk 08/May/18 3:59 PM
          Confirmed Confirmed Closed Closed
          261d 6m 1 Barbara Grajczyk 24/Jan/19 3:05 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Barbara Grajczyk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: