Esempio n. 1
0
 def add_issue(self,
               title=None,
               description=None,
               security_related=None,
               submitter_name=None,
               submitter_email=None,
               kibitzers=None,
               topic=None,
               importance=None,
               classification=None,
               version_info=None,
               assignees=None,
               file=None, fileid=None, filetype=None):
     """Create a new collector issue."""
     id = self.new_issue_id()
     submitter_id = str(getSecurityManager().getUser())
     
     err = addCollectorIssue(self,
                             id,
                             title=title,
                             description=description,
                             submitter_id=submitter_id,
                             submitter_name=submitter_name,
                             submitter_email=submitter_email,
                             kibitzers=kibitzers,
                             topic=topic,
                             classification=classification,
                             security_related=security_related,
                             importance=importance,
                             version_info=version_info,
                             assignees=assignees,
                             file=file, fileid=fileid, filetype=filetype)
     return id, err
Esempio n. 2
0
 def add_issue(self,
               title=None,
               description=None,
               security_related=None,
               submitter_name=None,
               submitter_email=None,
               kibitzers=None,
               topic=None,
               importance=None,
               classification=None,
               version_info=None,
               assignees=None,
               file=None, fileid=None, filetype=None):
     """Create a new collector issue."""
     id = self.new_issue_id()
     submitter_id = str(getSecurityManager().getUser())
     
     err = addCollectorIssue(self,
                             id,
                             title=title,
                             description=description,
                             submitter_id=submitter_id,
                             submitter_name=submitter_name,
                             submitter_email=submitter_email,
                             kibitzers=kibitzers,
                             topic=topic,
                             classification=classification,
                             security_related=security_related,
                             importance=importance,
                             version_info=version_info,
                             assignees=assignees,
                             file=file, fileid=fileid, filetype=filetype)
     return id, err