Bug 730983

Summary: Job submit fails because of cc list
Product: [Retired] Beaker Reporter: Marian Ganisin <mganisin>
Component: schedulerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: high    
Version: 0.6CC: bpeck, dcallagh, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-08 02:43:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marian Ganisin 2011-08-16 13:11:14 UTC
Description of problem:
If my xml recipe contains duplicate cc fields:

    <notify>
        <cc>mganisin</cc>
        <cc>mganisin</cc>
    </notify>

attempt to submit fails with error:

Exception: <Fault 1: 'sqlalchemy.exceptions.IntegrityError:(IntegrityError) (1062, "Duplicate entry \'120607-mganisin\' for key 1") u\'INSERT INTO job_cc (job_id, email_address) VALUES (%s, %s)\' [120607L, \'mganisin\']'>

Fault doesn't seem to be acceptable in this case. It is really simple to recover from this state.

Comment 3 Dan Callaghan 2011-09-06 07:21:27 UTC
Thanks for testing.

Comment 4 Dan Callaghan 2011-09-08 02:43:31 UTC
Beaker 0.7.1 has been released.