Skip to content

Fix incorrect column name in bulk_container.php count query#1649

Open
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1519-bulk-container-column-name
Open

Fix incorrect column name in bulk_container.php count query#1649
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1519-bulk-container-column-name

Conversation

@lacatoire
Copy link

@lacatoire lacatoire commented Feb 10, 2026

Summary

  • Fixed count(RowID) to count(CabRowID) in the SQL query at line 226 of bulk_container.php
  • The RowID column does not exist in fac_CabRow table; the correct primary key column is CabRowID
  • This was causing a 500 error when performing bulk container imports

Fixes #1519

The count() was referencing RowID which does not exist in fac_CabRow
table. The correct column name is CabRowID, matching the table's
primary key. This was causing a 500 error on bulk container import.

Fixes opendcim#1519
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v.23.04 - bulk_container.php incorrect column name on count parameter causing 500 error

1 participant