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 318015 Details for
Bug 464700
API Errata addition violates constraint SPACEWALK.RHN_ERRATAFILE_EID_FILE_UQ
[?]
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.
Perl script to recreate the constraint error.
errata_test_case.pl (text/plain), 941 bytes, created by
Jeremy Mueller
on 2008-09-29 22:20:53 UTC
(
hide
)
Description:
Perl script to recreate the constraint error.
Filename:
MIME Type:
Creator:
Jeremy Mueller
Created:
2008-09-29 22:20:53 UTC
Size:
941 bytes
patch
obsolete
>#!/usr/bin/perl -w >use strict; >use Frontier::Client; >my $SERVER = "localhost"; >my $USER = "username"; >my $PASSWORD = "password"; ># Change the package IDs as needed: ># 8580 -- kexec-tools-1.102pre-21.el5_2.2.x86_64.rpm in rhel-5.2-x86_64 channel ># 5438 -- kexec-tools-1.102pre-21.el5_2.2.i386.rpm in rhel-5.2-i86 channel >my @PACKAGES = qw(8580 5438); > >my $CLIENT = new Frontier::Client(url => "http://$SERVER/rpc/api"); >my $SESSION = $CLIENT->call('auth.login', $USER, $PASSWORD); > >my %errata = ( > 'synopsis' => 'Test Errata', > 'advisory_name' => 'ABC123', > 'advisory_release' => '1', > 'advisory_type' => 'Bug Fix Advisory', > 'product' => 'RedHat EL 5.2', > 'topic' => 'Test Topic', > 'description' => 'Testing Descript', > 'references' => '', > 'notes' => '', > 'solution' => 'Test Solution' > ); >my @label = qw(rhel-5.2-i386 rhel-5.2-x86_64); > >my $retval = $CLIENT->call('errata.create', $SESSION, \%errata, [], [], \@PACKAGES, 1, \@label);
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 Raw
Actions:
View
Attachments on
bug 464700
: 318015 |
318017