[JBoss JIRA] (WFLY-1741) RBAC: Response headers don't match payload structure
by Heiko Braun (JIRA)
[ https://issues.jboss.org/browse/WFLY-1741?page=com.atlassian.jira.plugin.... ]
Heiko Braun closed WFLY-1741.
-----------------------------
Resolution: Rejected
> RBAC: Response headers don't match payload structure
> ----------------------------------------------------
>
> Key: WFLY-1741
> URL: https://issues.jboss.org/browse/WFLY-1741
> Project: WildFly
> Issue Type: Bug
> Components: Domain Management
> Reporter: Heiko Braun
> Assignee: Brian Stansberry
>
> the 'relative-address' header doesn't match the response structure:
> (hint: the 'data-source' element is missing)
> {noformat}
> [standalone@localhost:9990 /] /subsystem=datasources:read-children-resources(child-type=data-source){roles=monitor}
> {
> "outcome" => "success",
> "result" => {
> "ExampleDS" => {
> "allocation-retry" => undefined,
> "allocation-retry-wait-millis" => undefined,
> [...] }
> },
> "response-headers" => {"access-control" => [ {
> "absolute-address" => [
> ("subsystem" => "datasources"),
> ("data-source" => "ExampleDS")
> ],
> "relative-address" => [("data-source" => "ExampleDS")],
> "filtered-attributes" => [
> "user-name",
> "security-domain",
> "password"
> ]
> }
> ]}
> }
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (DROOLS-290) Can't parse condition as FieldConstraintDescr in 5.5.0
by Davide Sottara (JIRA)
[ https://issues.jboss.org/browse/DROOLS-290?page=com.atlassian.jira.plugin... ]
Davide Sottara edited comment on DROOLS-290 at 10/8/13 2:31 AM:
----------------------------------------------------------------
Constraints are handled differently in 5.5 than 5.0. In later versions, you can have "free-form" constraints as opposed to simpler <Field OP Value>.
This is not a bug. Are you manipulating the Descr tree yourself? Those classes have never been part of the public API, as far as I know
was (Author: dsotty):
Constraints are handled differently in 5.5 as opposed to 5.0. In later versions, you can have "free-form" constraints as opposed to simpler <Field OP Value>.
This is not a bug. Are you manipulating the Descr tree yourself? Those classes have never been part of the public API, as far as I know
> Can't parse condition as FieldConstraintDescr in 5.5.0
> ------------------------------------------------------
>
> Key: DROOLS-290
> URL: https://issues.jboss.org/browse/DROOLS-290
> Project: Drools
> Issue Type: Release
> Security Level: Public(Everyone can see)
> Environment: jdk1.6.0.25
> Reporter: Paul Qing
> Assignee: Mark Proctor
>
> hi everyone,
> I met a issue when I upgrade drools from 5.0.1 to 5.5.0. when I parse a rule in the 5.5.0. It will parse condition as ExprConstraintDescr. However,It can parse this condition as FieldConstraintDescr in the 5.0.1. I don't know that this is a bug or not. the rule is as following:
> rule "guy_13"
> when
> $g:Guy(age==13)
> then
> return true;
> end
> the root cause is the parser has parsed "$g:Guy(age==13)" as ExprConstraintDescr in the 5.5.0 and it can work in the 5.0.1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (DROOLS-291) ClassCastException during constraint jitting when an interface is used for implementation and traiting
by Davide Sottara (JIRA)
Davide Sottara created DROOLS-291:
-------------------------------------
Summary: ClassCastException during constraint jitting when an interface is used for implementation and traiting
Key: DROOLS-291
URL: https://issues.jboss.org/browse/DROOLS-291
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.CR4, 5.5.0.Final
Reporter: Davide Sottara
Assignee: Mark Proctor
Priority: Critical
The following combination is needed:
- an interface IX with at least one getter/setter pair
- a trait IY extending IX
- a class K implementing IX
- a jittable constraint on IX
The constraint is first triggered by an "instance" of IY,
but jitted by an instance of K.
The condition analyzer assumes that IY is the natural
domain of the constratint, rather than IX. The jitted
constraint will then try to cast K to IY, resulting in
a disruptive CCE
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (DROOLS-290) Can't parse condition as FieldConstraintDescr in 5.5.0
by Davide Sottara (JIRA)
[ https://issues.jboss.org/browse/DROOLS-290?page=com.atlassian.jira.plugin... ]
Davide Sottara commented on DROOLS-290:
---------------------------------------
Constraints are handled differently in 5.5 as opposed to 5.0. In later versions, you can have "free-form" constraints as opposed to simpler <Field OP Value>.
This is not a bug. Are you manipulating the Descr tree yourself? Those classes have never been part of the public API, as far as I know
> Can't parse condition as FieldConstraintDescr in 5.5.0
> ------------------------------------------------------
>
> Key: DROOLS-290
> URL: https://issues.jboss.org/browse/DROOLS-290
> Project: Drools
> Issue Type: Release
> Security Level: Public(Everyone can see)
> Environment: jdk1.6.0.25
> Reporter: Paul Qing
> Assignee: Mark Proctor
>
> hi everyone,
> I met a issue when I upgrade drools from 5.0.1 to 5.5.0. when I parse a rule in the 5.5.0. It will parse condition as ExprConstraintDescr. However,It can parse this condition as FieldConstraintDescr in the 5.0.1. I don't know that this is a bug or not. the rule is as following:
> rule "guy_13"
> when
> $g:Guy(age==13)
> then
> return true;
> end
> the root cause is the parser has parsed "$g:Guy(age==13)" as ExprConstraintDescr in the 5.5.0 and it can work in the 5.0.1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months