Actions
Bug #2456
closedA disabled Policy Instance is still applied in the generated configuration
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
I just disabled one PI that is applied in a CR with 2 other PIs (so my CR has a total of 3 PI). However, the generated promises still include the info from that PI!
Updated by Nicolas CHARLES over 12 years ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset 846b4eb1855058ff5eef0aa2919e6715cc5a6da4.
Updated by François ARMAND over 12 years ago
- Status changed from Pending technical review to Released
That seems OK, but it is highlighting a fundamental flow that I knew will it at one time or another: basically, we are fuzzing the semantic of Empty (a valid empty result) and Failure (an error).
To be strict, (and we are seing here that we should have), in several cases, our Box[Something] Should be Box[Option[Something]] to stay with the "empty = error" semantic of Lift.
So, let it be like that for now, but we should REALLY look to scalaz validation type1 in place of Box (Box let you do bad things).
Actions