Details
Description
This is a duplicate of issue #013971 in a case introduced by enhancement #012456
Here's a patch (made against 4.3.0) to correct this issue. Since the code is exactly the same in both cases, I refactored it in a private static method for further modification if needed.
Steps to reproduce
- Enable classbased delayed indexing
- Edit an object of relevant class
- Before indexing cron runs Edit the same object again
- See the duplicate entry in table ezpending_actions