Deletion of belongsTo item doesn't work from listing page

Feature(s) impacted

Deletion of a belongsTo item.

Observed behavior

When viewing list of records in a belongs to relationship, selecting a record and then using the Delete action doesn’t delete the item and no delete request is called.
At the second attempt it usually works (it sends a delete request and the item is successfully deleted).
It always works if I try to delete the record from the details page (by clicking on the row), but it requires me to delete the records one by one.

Expected behavior

A delete request should be made and the record should be deleted.

Failure Logs

Screen recording: https://www.youtube.com/watch?v=WPEZ5kkhtrk
Console logs:

Context

  • Project name: Explora Project
  • Environment name: Development / Staging / Production
  • Agent technology: Ruby on Rails 6
  • Agent (forest package) name & version: forest_liana gem version 8.3.2

Hello @PJB, welcome to the Forest Admin community and thank you for reaching out.

I can reproduce your issue and it is a regression on our side.

I created a ticket, you will be notified here when the bug will be fixed.

Nicolas

Hello again @PJB

We rollbacked the source of the bug, can you tell me if the deletion is working ?

Thank you, it’s working now.

1 Like