Bug 1416824
Summary: | Candlepin refuses to register a consumer with a fact longer than 255 characters | |||
---|---|---|---|---|
Product: | [Community] Candlepin | Reporter: | Barnaby Court <bcourt> | |
Component: | candlepin | Assignee: | Chris "Ceiu" Rog <crog> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 0.9.54 | CC: | candlepin-bugs, katello-qa-list, khowell, redakkan, sengork, skallesh, vrjain | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | 0.9.54 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | candlepin-0.9.54.19-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1416823 | |||
: | 1416825 (view as bug list) | Environment: | ||
Last Closed: | 2017-02-07 17:38:40 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: | ||||
Bug Depends On: | 1416823 | |||
Bug Blocks: | 1416825 |
Description
Barnaby Court
2017-01-26 14:40:05 UTC
commit a9fab09a36575727aeedf80a5d8e611f5db88943 Author: Chris Rog <crog> Date: Wed Jan 25 17:16:59 2017 -0500 1416825: Abstracted out property validation to new validator framework - Added the new PropertyValidator class and its subclasses AttributeValidator and FactValidator, which provide implementations for validating attributes and facts, respectively - Updated the ProductCurator and ConsumerCurator to use the new PropertyValidator instances in place of their old private validation methods - ConsumerValidator no longer massages inbound fact data, but will now, instead, throw PropertyValidationExceptions when it encounters malformed or otherwise unmanagable data - ConsumerResource now provides the massaging and filtering functionality previously performed in the ConsumerCurator |