Bug 1010273

Summary: Bug.update_attachment causes error when updating filename using key 'file_name'
Product: [Community] Bugzilla Reporter: Simon Green <sgreen>
Component: WebServiceAssignee: Simon Green <sgreen>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: ebaak, jmcdonal, rjoost
Target Milestone: 4.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.4.0009 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-04 00:46:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon Green 2013-09-20 12:20:12 UTC
When I was reviewing this new feature I failed to test the changing of the file name. The documentation states to use 'file_name' as the parameter but internally it is 'filename'. 

So I get the error:
The requested method 'Bugzilla::Attachment::set_file_name' was not found.

I will create a patch that converts 'file_name' to 'filename' before set_all() so that we can keep the param naming for attachments consistent.

Comment 2 Simon Green 2013-10-04 00:46:15 UTC
This change is now live. If there are any issues, do not reopen this bug.
Instead, you should create a new bug and reference this bug.

  -- simon