Skip to content

[Bug] Importing of some user failes #1323

Closed
@crackytsi

Description

@crackytsi

Bug / Feature Request

Work Environment

Question Answer
OS version (server) Debian
OS version (client) 10
TheHive version / git hash 4 RC2
Package Type DEB

Problem Description

When I start the migration tool to import everything, I can see the following error message:

[error] o.t.t.m.t.Input - org.thp.thehive.migration.dto.InputUser read failure:List(
 - : JsonValidationError(List('roles' is undefined on object: {"name":"error2","updatedAt":1518167098512,"status":"Locked","preferences":"{}","createdAt":1497380352646,"createdBy":"user1","updatedBy":" user1","password":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","_type":"user","_routing":"user7","_parent":null,"_id":" user7","_version":1}),WrappedArray()))

It seems that the attribute roles (I guess it was never used) makes some trouble.
Can you handle that in an upcoming release to allow also this user migration?

Metadata

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions