When applying an action twice on "the whole set", you get this fatal error:

> Fatal error: Uncaught mysqli_sql_exception: Column 'object_id' cannot be null in include/dblayer/functions_mysqli.inc.php:132 Stack trace:
>
> #0 include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nINSERT INTO `...')
> #1 include/dblayer/functions_mysqli.inc.php(550): pwg_query('\nINSERT INTO `...')
> #2 include/functions.inc.php(644): mass_inserts('piwigo_activity', Array, Array)
> #3 admin/batch_manager_global.php(246): pwg_activity('photo', Array, 'edit', Array)
> #4 admin/batch_manager.php(814): include('/www/htdocs/w00...')
> #5 admin.php(346): include('/www/htdocs/w00...')
> #6 {main} thrown in include/dblayer/functions_mysqli.inc.php on line 132


[batch manager] Column 'object_id' cannot be null
This is a GitHub Issue
repo:Piwigo
owner:Piwigo
Title : [batch manager] Column 'object_id' cannot be null
Issue date:

--- start body ---
When applying an action twice on "the whole set", you get this fatal error:

> Fatal error: Uncaught mysqli_sql_exception: Column 'object_id' cannot be null in include/dblayer/functions_mysqli.inc.php:132 Stack trace:
>
> #0 include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nINSERT INTO `...')
> #1 include/dblayer/functions_mysqli.inc.php(550): pwg_query('\nINSERT INTO `...')
> #2 include/functions.inc.php(644): mass_inserts('piwigo_activity', Array, Array)
> #3 admin/batch_manager_global.php(246): pwg_activity('photo', Array, 'edit', Array)
> #4 admin/batch_manager.php(814): include('/www/htdocs/w00...')
> #5 admin.php(346): include('/www/htdocs/w00...')
> #6 {main} thrown in include/dblayer/functions_mysqli.inc.php on line 132


--- end body ---
