MAAS uses two different model fields to store binary data

Bug #1321313 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Unassigned

Bug Description

MAAS uses two different Binary fields: src/metadataserver/fields.py:BinaryField (that one was created before Django had a BinaryField) and Django's BinaryField (BootSource uses that one). Having two different ways to accomplish the same thing leads to duplicated code down the line, in the API/form code for instance and is thus an unnecessary maintenance burden.

We should probably normalize using Django's BinaryField across the board.

Tags: tech-debt
Raphaël Badin (rvb)
description: updated
Changed in maas:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.