Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Data missing from DB when creating new import or cloning existing import

Status Resolved
Add-on / Version DataGrab 5.0.3
Severity
EE Version 7.3.0

Foster Made

Jun 23, 2023

I’m getting DB issues with the latest DataGrab when either cloning an existing import or adding a new one.  The total_records, last_record, delete_records and error_records all start out as NULL and produce errors like this:

TypeError Caught
BoldMinded\DataGrab\Model\ImportStatus::getDisplayStatus(): Argument #3 ($lastRecord) must be of type int, null given, called in user/addons/datagrab/mcp.datagrab.php on line 180
user/addons/datagrab/Model/ImportStatus.php:189

Simply setting values to 0 instead of NULL resolves this, but needs to be fixed.  Thanks!

#1

BoldMinded (Brian)

If you had a previous build of 5.0.3 you might need to edit the exp_modules table and set the version back to 5.0.2 and then run the upgrade again.

#2

Foster Made

Sorry, that didn’t seem to work either. Still get the same error above for both new imports and cloning an existing import - in both cases, all 4 of those columns in the DB are NULL.

#3

BoldMinded (Brian)

Comment has been marked private.

#4

BoldMinded (Brian)

Comment has been marked private.

Login to reply