Skip Menu |

This queue is for tickets about the Data-Consumer CPAN distribution.

Report information
The Basics
Id: 75423
Status: new
Priority: 0/
Queue: Data-Consumer

People
Owner: Nobody in particular
Requestors: y.optroodt [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.13
Fixed in: (no value)



Subject: Data::Consumer::MySQL fails when record is deleted before setting status to 'processed'
In my case the process looks like this: 1. Set entry to 'working' state 2. Read entry from source, identified by the $id passed by the consumer 3. Copy entry to some other destination 4. Delete entry from source 5. Set entry to 'processed' state Step 5 fails, because there is no record to update anymore. Data::Consumer::MySQL 20543 >>> Failed during $self->process($callback): Update resulted in 0 records changing! Would be nice to have an option to either ignore this error or offer it as an alternative to setting to processed. - Data-Consumer-0.13 - Perl version: 5.14.2 - CentOS release 5.5 (Final)