Bug 815305
Summary: | Min/max constraints on PropertyList not honored | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Heiko W. Rupp <hrupp> | ||||||
Component: | Core UI | Assignee: | Mike Thompson <mithomps> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.3 | CC: | hrupp, mazz, mithomps | ||||||
Target Milestone: | --- | ||||||||
Target Release: | RHQ 4.5.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 4.5.0 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-09-01 10:16:46 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: | |||||||||
Bug Blocks: | 820425 | ||||||||
Attachments: |
|
Description
Heiko W. Rupp
2012-04-23 10:25:20 UTC
setting priority to medium per BZ triage 4/23 (crouch, santos, oleary, foley) Created attachment 597887 [details]
Max bounds alert
Created attachment 597888 [details]
Min bounds alert
Master commit id: 46f6c86 UI now detects the min and max attributes on the PropertyDefinitionList and validates the number of elements based on the plugin xml config values. See attached screen shots for what the alerting looks like. this is the description from 5 years ago - JBNADM-1595, created by Heiko: Heiko is always ahead of his time :-) -------------- Testcase in PluginHandlingTest.testListPropertyMinMax() Input: <resource-configuration> <list-property name="a" description="Yada !" min="4" max="6" /> name and description are correctly set, but not min and max Looking at PropertyDefinitionList shows that the properties min/max are transient. IMHO this makes the properties useless. ------------- Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since. |