feat: hand HPE MSA exports from the disk CSV import to the MSA wizard

An MSA disk export pasted or uploaded in Disks > Import failed with
"Unknown header: Location". The import now recognises the MSA columns and
opens the shelf assignment step of the MSA import instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-21 14:13:10 +02:00
1 parent 7754e823cb
commit 2a6abc396d
4 files changed
+32 -3

No files matched your search

+1 -1
View File
@@ -514,7 +514,7 @@ class MSAUploadForm(forms.Form):
if not export.disks:
raise ValidationError(export.errors)
cleaned_data["export"] = export
cleaned_data["raw"] = data if isinstance(data, str) else msa_import._decode(data)
cleaned_data["raw"] = data if isinstance(data, str) else msa_import.decode(data)
return cleaned_data