Issue #339
closedmalformed dates are accepted for errata create
Description
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@redhat.com --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:
+ This bug was cloned from Bugzilla Bug #851311 +