Skip to content

Fix 500 error when mapping columns to None in network bulk upload#1653

Open
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1040-bulk-network-none-column
Open

Fix 500 error when mapping columns to None in network bulk upload#1653
lacatoire wants to merge 1 commit intoopendcim:masterfrom
lacatoire:fix/1040-bulk-network-none-column

Conversation

@lacatoire
Copy link

@lacatoire lacatoire commented Feb 10, 2026

Summary

  • Fixed crash when optional columns (MediaType, ColorCode, Notes) are mapped to "None" in the network bulk upload
  • When mapped to "None" (value 0), chr(64 + 0) produced @ which is an invalid cell coordinate for PhpSpreadsheet
  • Fields mapped to "None" now correctly default to an empty string

Fixes #1040

When a column was mapped to None (value 0), chr(64 + 0) produced '@'
which is an invalid cell coordinate for PhpSpreadsheet, causing an
uncaught exception. Now fields mapped to None are set to empty string
instead of attempting to read from an invalid cell address.

Fixes opendcim#1040
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.

Network bulk upload column header "NONE" - Error 500

1 participant