Skip to content

Commit

Permalink
Fix tests, cleanup and add known issues file
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Aug 9, 2019
1 parent 56b4ed2 commit fd1d5a2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 27 deletions.
32 changes: 32 additions & 0 deletions issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# stats on task return wrong values:
```
curl 'http://127.0.0.1:9000/api/case/task/_stats' -H 'Content-Type: application/json;charset=UTF-8' -d '
{
"query": {
"_and": [{
"_parent": {
"_type": "case",
"_query": {
"_id": "4320"
}
}
}, {
"_not": {
"status": "Cancel"
}
}]
},
"stats": [{
"_agg": "field",
"_field": "status",
"_select": [{
"_agg": "count"
}]
}, {
"_agg": "count"
}]
}'
```
The filter `_parent` is ignored.

# Handle BadConfiguration in errorHandler
26 changes: 0 additions & 26 deletions thehive/app/org/thp/thehive/services/EventSrv.scala

This file was deleted.

2 changes: 1 addition & 1 deletion thehive/test/org/thp/thehive/FunctionalTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class FunctionalTest extends PlaySpecification {
|}
|auth.providers: [
| {name: basic},
| {name:local}
| {name: local}
|]
""".stripMargin))
// Configuration(ConfigFactory.parseString("""
Expand Down

0 comments on commit fd1d5a2

Please sign in to comment.