[jboss-jira] [JBoss JIRA] (WFCORE-434) Fix AuditLogFieldsOfLogTestCase

Tomaz Cerar (JIRA) issues at jboss.org
Wed Apr 15 09:22:19 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar resolved WFCORE-434.
--------------------------------
    Fix Version/s: 1.0.0.Alpha19
       Resolution: Done


> Fix AuditLogFieldsOfLogTestCase
> -------------------------------
>
>                 Key: WFCORE-434
>                 URL: https://issues.jboss.org/browse/WFCORE-434
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management, Test Suite
>            Reporter: Tomaz Cerar
>            Assignee: Tomaz Cerar
>             Fix For: 1.0.0.Alpha19
>
>
> Test started to fail with:
> {noformat}
> java.lang.IllegalArgumentException: Invalid character: -
>     at org.jboss.dmr.JSONParserImpl.invalid(JSONParserImpl.java:136)
>     at org.jboss.dmr.JSONParser.yyLex(JSONParser.java:596)
>     at org.jboss.dmr.JSONParser.yyParse(JSONParser.java:662)
>     at org.jboss.dmr.ModelNode.fromJSONString(ModelNode.java:1390)
>     at org.jboss.as.test.manualmode.auditlog.AuditLogFieldsOfLogTestCase.testAuditLoggingFields(AuditLogFieldsOfLogTestCase.java:106)
> {noformat}
> message was (notice the extra "-"  in front)
> {noformat}
>  - {
>     "type" : "core",
>     "r/o" : false,
>     "booting" : false,
>     "version" : "9.0.0.Alpha1",
>     "user" : "IAmAdmin",
>     "domainUUID" : null,
>     "access" : "NATIVE",
>     "remote-address" : "127.0.0.1/127.0.0.1",
>     "success" : true,
>     "ops" : [{
>         "operation" : "write-attribute",
>         "address" : [
>             {
>                 "core-service" : "management"
>             },
>             {
>                 "access" : "audit"
>             },
>             {
>                 "logger" : "audit-log"
>             }
>         ],
>         "name" : "log-boot",
>         "value" : true,
>         "operation-headers" : {
>             "caller-type" : "user",
>             "access-mechanism" : "NATIVE"
>         }
>     }]
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jboss-jira mailing list