Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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'
Download (untitled) / with headers
text/plain 623b
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)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.