Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1476641 Details for
Bug 1618786
tower-cli ignores name provided while copying objects
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix to avoid that the given name is ignored while copying
tower-cli-fix-copy-overwrite.diff (text/plain), 536 bytes, created by
Eric Lavarde
on 2018-08-17 15:08:08 UTC
(
hide
)
Description:
Fix to avoid that the given name is ignored while copying
Filename:
MIME Type:
Creator:
Eric Lavarde
Created:
2018-08-17 15:08:08 UTC
Size:
536 bytes
patch
obsolete
>diff --git a/tower_cli/models/base.py b/tower_cli/models/base.py >index e0a37e3..4af2e7b 100644 >--- a/tower_cli/models/base.py >+++ b/tower_cli/models/base.py >@@ -667,8 +667,8 @@ class Resource(BaseResource): > > if new_name is None: > # copy client-side, the old mechanism >- newresource.update(kwargs) > newresource['name'] = "%s @ %s" % (basename, time.strftime('%X')) >+ newresource.update(kwargs) > > return self.write(create_on_missing=True, **newresource) > else:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1618786
: 1476641