Uploaded files should not be declared as Bytes

Bug #264829 reported by Brad Crittenden
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

In interfaces like IProductRelaseFile and IBugAttachment the attributes that are files to be uploaded are Bytes but get converted to ILibraryFileAlias-es.

We have one test in productreleasefinder that calls Bytes._validate() on the ProductReleaseFile fields and fails because Bytes._validate expects a string not a LibraryFileAlias.

We need to have a new field that accepts bytes returns a ILibraryFileAlias.

When solving this bug it might be good to visit bug 115215.

Brad Crittenden (bac)
Changed in launchpad-foundations:
status: New → Triaged
milestone: none → 2.1.9
Changed in launchpad-foundations:
milestone: 2.1.9 → none
Curtis Hovey (sinzui)
tags: added: tech-debt
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
importance: Undecided → Low
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.