Bug 851311

Summary: malformed dates are accepted for errata create
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: MasterCC: rbarlow
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 21:50:17 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 Preethi Thomas 2012-08-23 18:28:34 UTC
Description of problem:
wrong date format is accepted for date fields  --updated and --issued 

Version-Release number of selected component (if applicable):
[root@pulp-candidate scripts]# rpm -q pulp-rpm-server
pulp-rpm-server-2.0.1-1.fc17.noarch
[root@pulp-candidate scripts]# 


How reproducible:


Steps to Reproduce:
1. try to create an errata with date in the wrong format
2.
3.
  
Actual results:
[root@pulp-candidate scripts]# pulp-admin repo uploads errata --repo-id errata_demo --erratum-id test3 --title test --description test --version 1 --release 1 --type enhancement --status final --updated 22:010 --issued 2012 --pkglist-csv package_list.csv --from pthomas --pushcount 1
+----------------------------------------------------------------------+
                            Erratum Creation
+----------------------------------------------------------------------+

Starting upload of selected packages. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
cancelled entirely using the cancel command.

Importing into the repository...
... completed

Deleting the upload request...
... completed



Expected results:


Additional info:

Comment 1 Brian Bouterse 2015-02-28 21:50:17 UTC
Moved to https://pulp.plan.io/issues/339