Comment 16 for bug 1777675

Revision history for this message
Kyle Huckins (khuckins) wrote :

I've pushed a commit to the branch that refactors the previous additions, creating the new last_copy_inventory table under the asset schema. This is still WIP, and I'm running into some issues with updating the new inventory table through the do_checkin function. I think I'm missing something event-related , so despite the addition to the checkin_flesh_events subroutine's payload, entries won't get created or updated. Due to the way checkin functionality is implemented, going through the checkin API still seems to be the best way to handle updating the inventory. I'm having a bit of trouble wrapping my head around how to actually update this table in the Perl - any guidance on that would be much appreciated.