Bug 851311 - malformed dates are accepted for errata create
malformed dates are accepted for errata create
Status: CLOSED UPSTREAM
Product: Pulp
Classification: Community
Component: user-experience (Show other bugs)
Master
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: pulp-bugs
Preethi Thomas
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-23 14:28 EDT by Preethi Thomas
Modified: 2015-02-28 16:50 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-28 16:50:17 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Pulp Redmine 339 None None None Never

  None (edit)
Description Preethi Thomas 2012-08-23 14:28:34 EDT
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:
Comment 1 Brian Bouterse 2015-02-28 16:50:17 EST
Moved to https://pulp.plan.io/issues/339

Note You need to log in before you can comment on or make changes to this bug.