[JBoss JIRA] (WFLY-7571) Elytron token-realm description <code> formatting
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFLY-7571?page=com.atlassian.jira.plugin.... ]
Martin Choma updated WFLY-7571:
-------------------------------
Labels: user_experience (was: )
> Elytron token-realm description <code> formatting
> -------------------------------------------------
>
> Key: WFLY-7571
> URL: https://issues.jboss.org/browse/WFLY-7571
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Martin Choma
> Labels: user_experience
>
> In token-realm resource in description of 5 attributes there is formatting <code></code> used e.g.
> {code}
> "issuer" => {
> "type" => LIST,
> "description" => "A list of strings representing the issuers supported by this configuration. During validation JWT tokens must have an <code>iss</code> claim that contains one of the values defined here.",
> "expressions-allowed" => true,
> "nillable" => true,
> "value-type" => STRING
> },
> {code}
> Apparently this formating is copy/paste from somewhere it make sense. But it does not make sense in model/XSD description. Note, this applies also to operation add description.
> {code}
> /subsystem=elytron/token-realm=a:read-operation-description(name=add)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (WFLY-7571) Elytron token-realm description <code> formatting
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFLY-7571?page=com.atlassian.jira.plugin.... ]
Martin Choma moved JBEAP-7119 to WFLY-7571:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7571 (was: JBEAP-7119)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Security
(was: Security)
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.DR8)
> Elytron token-realm description <code> formatting
> -------------------------------------------------
>
> Key: WFLY-7571
> URL: https://issues.jboss.org/browse/WFLY-7571
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Martin Choma
>
> In token-realm resource in description of 5 attributes there is formatting <code></code> used e.g.
> {code}
> "issuer" => {
> "type" => LIST,
> "description" => "A list of strings representing the issuers supported by this configuration. During validation JWT tokens must have an <code>iss</code> claim that contains one of the values defined here.",
> "expressions-allowed" => true,
> "nillable" => true,
> "value-type" => STRING
> },
> {code}
> Apparently this formating is copy/paste from somewhere it make sense. But it does not make sense in model/XSD description. Note, this applies also to operation add description.
> {code}
> /subsystem=elytron/token-realm=a:read-operation-description(name=add)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (DROOLS-1250) Drools Sample.drl is broken
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1250?page=com.atlassian.jira.plugi... ]
Andrej Podhradsky updated DROOLS-1250:
--------------------------------------
Labels: release_notes (was: )
> Drools Sample.drl is broken
> ---------------------------
>
> Key: DROOLS-1250
> URL: https://issues.jboss.org/browse/DROOLS-1250
> Project: Drools
> Issue Type: Feature Request
> Components: eclipse plugin
> Affects Versions: 6.4.0.Final
> Reporter: Tianwei Chen
> Assignee: Robert (Bob) Brodt
> Labels: release_notes
> Fix For: 6.5.0.Final
>
>
> Hello, I use drools plugin (6.4.0.Final) in Eclipse Neon. I followed the wizard to create a drools project with some example files. After the step were done, Eclipse highlighted errors at the two rules in the Sample.drl file. Here is one of the errors:
> Multiple markers at this line
> - com.sample.DroolsTest.Message cannot be resolved to a type
> - org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> - Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> - org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> - KnowledgeHelper cannot be resolved to a type
> - Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> - Message.GOODBYE cannot be resolved to a type
> - org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> - java.lang.Exception cannot be resolved to a type
> When I ran DroolsTest.java, I got the following error:
> java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=Sample.drl, line=15, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type], Message [id=2, level=ERROR, path=Sample.drl, line=5, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> Message.GOODBYE cannot be resolved to a type
> org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type]]
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:450)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:604)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:575)
> It seems like an library path issue. Please help!
> Thank you very much!
> Tianwei Chen
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (DROOLS-1250) Drools Sample.drl is broken
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1250?page=com.atlassian.jira.plugi... ]
Andrej Podhradsky closed DROOLS-1250.
-------------------------------------
Verified with Drools plugin 6.5.1.Final which will be included in Devstudio IS 10.0.0.GA
> Drools Sample.drl is broken
> ---------------------------
>
> Key: DROOLS-1250
> URL: https://issues.jboss.org/browse/DROOLS-1250
> Project: Drools
> Issue Type: Feature Request
> Components: eclipse plugin
> Affects Versions: 6.4.0.Final
> Reporter: Tianwei Chen
> Assignee: Robert (Bob) Brodt
> Labels: release_notes
> Fix For: 6.5.0.Final
>
>
> Hello, I use drools plugin (6.4.0.Final) in Eclipse Neon. I followed the wizard to create a drools project with some example files. After the step were done, Eclipse highlighted errors at the two rules in the Sample.drl file. Here is one of the errors:
> Multiple markers at this line
> - com.sample.DroolsTest.Message cannot be resolved to a type
> - org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> - Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> - org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> - KnowledgeHelper cannot be resolved to a type
> - Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> - Message.GOODBYE cannot be resolved to a type
> - org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> - java.lang.Exception cannot be resolved to a type
> When I ran DroolsTest.java, I got the following error:
> java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=Sample.drl, line=15, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type], Message [id=2, level=ERROR, path=Sample.drl, line=5, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> Message.GOODBYE cannot be resolved to a type
> org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type]]
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:450)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:604)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:575)
> It seems like an library path issue. Please help!
> Thank you very much!
> Tianwei Chen
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (DROOLS-1226) Eclipse Plugin not working with Eclipse Neon 4.6
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1226?page=com.atlassian.jira.plugi... ]
Andrej Podhradsky closed DROOLS-1226.
-------------------------------------
Resolution: Duplicate Issue
> Eclipse Plugin not working with Eclipse Neon 4.6
> ------------------------------------------------
>
> Key: DROOLS-1226
> URL: https://issues.jboss.org/browse/DROOLS-1226
> Project: Drools
> Issue Type: Bug
> Components: eclipse plugin
> Affects Versions: 6.4.0.Final
> Reporter: Bernhard Mayer
> Assignee: Robert (Bob) Brodt
> Fix For: 6.5.0.Final
>
>
> The eclipse integration plugin stopped working properly with Eclipse Neon 4.6.
> When editing rules in the rules editor of a Drools Project the following error is produced for *any* rule:
> {panel:title=Error Message}
> Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> {panel}
> The Plugin works fine with Eclipse Mars 4.5 and earlier releases.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (DROOLS-1226) Eclipse Plugin not working with Eclipse Neon 4.6
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1226?page=com.atlassian.jira.plugi... ]
Andrej Podhradsky reopened DROOLS-1226:
---------------------------------------
> Eclipse Plugin not working with Eclipse Neon 4.6
> ------------------------------------------------
>
> Key: DROOLS-1226
> URL: https://issues.jboss.org/browse/DROOLS-1226
> Project: Drools
> Issue Type: Bug
> Components: eclipse plugin
> Affects Versions: 6.4.0.Final
> Reporter: Bernhard Mayer
> Assignee: Robert (Bob) Brodt
> Fix For: 6.5.0.Final
>
>
> The eclipse integration plugin stopped working properly with Eclipse Neon 4.6.
> When editing rules in the rules editor of a Drools Project the following error is produced for *any* rule:
> {panel:title=Error Message}
> Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> {panel}
> The Plugin works fine with Eclipse Mars 4.5 and earlier releases.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (ELY-749) String.toUpperCase() is used without Locale in AttributeMapping class (Elytron)
by Josef Cacek (JIRA)
Josef Cacek created ELY-749:
-------------------------------
Summary: String.toUpperCase() is used without Locale in AttributeMapping class (Elytron)
Key: ELY-749
URL: https://issues.jboss.org/browse/ELY-749
Project: WildFly Elytron
Issue Type: Bug
Reporter: Josef Cacek
Assignee: Darran Lofthouse
Priority: Critical
The String.toUpperCase() call is used in constructor of {{AttributeMapping}} class without providing {{Locale.ENGLISH}} or {{Locale.US}} as parameter.
This can lead to problems on systems with non-English default locale (e.g. {{-Duser.language=tr}}).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months