https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21337

--- Comment #22 from Jonathan Druart <[email protected]> 
---
I was not precise enough.
I use "something went wrong" for both cases: the row cannot be deleted because
of an error (FK for instance), or the row does not exist.

With:
 $p1 and p1bis can be deleted
 $p2 cannot be deleted and DBI will explode
 $p3 does not exist (and so $p3->delete will return 0)

I would expect:
  delete $p1 and $p1bis => ok, both are deleted
  delete $p2 and ($p1 or $p3) => none are deleted, exception is raised
  delete $p1 and $p3 => ok, $p1 is deleted

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to