Bug 1000230
Summary: | <condition/> is ignored in RewriteValve | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Hisanobu Okuda <hokuda> |
Component: | Web | Assignee: | Rémy Maucherat <rmaucher> |
Status: | CLOSED DUPLICATE | QA Contact: | Radim Hatlapatka <rhatlapa> |
Severity: | unspecified | Docs Contact: | Russell Dickenson <rdickens> |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | mmiura |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-23 07:35:24 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
Hisanobu Okuda
2013-08-23 03:20:29 UTC
The below works for me:- [hokuda@localhost 00911259]$ diff -u WebVirtualHostAdd.java.org WebVirtualHostAdd.java --- WebVirtualHostAdd.java.org 2013-05-09 13:06:56.000000000 +0900 +++ WebVirtualHostAdd.java 2013-08-23 11:58:05.330030629 +0900 @@ -163,13 +163,13 @@ ModelNode result = new ModelNode(); for (Property prop : unresolvedRewriteChildren.asPropertyList()) { ModelNode resolvedParent = resolveExpressions(context, prop.getValue(), WebReWriteDefinition.ATTRIBUTES); - result.get(prop.getName()).set(resolvedParent); if (prop.getValue().hasDefined(Constants.CONDITION)) { for (Property conditionProp : prop.getValue().get(Constants.CONDITION).asPropertyList()) { ModelNode resolvedCondition = resolveExpressions(context, conditionProp.getValue(), WebReWriteConditionDefinit ion.ATTRIBUTES); resolvedParent.get(Constants.CONDITION, conditionProp.getName()).set(resolvedCondition); } } + result.get(prop.getName()).set(resolvedParent); } return result; } [hokuda@localhost 00911259]$ Request for inclusion to EAP 6.2.0 Is this BZ duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=969547 ? *** This bug has been marked as a duplicate of bug 969547 *** Removing flags |