Actions
Bug #15822
closedIllegalArgumentException: Missing scheme when deleting user
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
The error stack trace is:
[2019-10-01 20:36:24] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /secure/api/usermanagement/foo2 java.lang.IllegalArgumentException: Missing scheme at java.base/java.nio.file.Path.of(Path.java:199) at java.base/java.nio.file.Paths.get(Paths.java:97) at better.files.File$.apply(File.scala:1416) at com.normation.plugins.usermanagement.UserManagementService$.remove(UserManagementService.scala:163) at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.process(UserManagementApi.scala:231) at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.process(UserManagementApi.scala:222) at com.normation.rudder.rest.lift.LiftApiModule.handler(LiftApiDispatcher.scala:56) at com.normation.rudder.rest.lift.LiftApiModule.handler$(LiftApiDispatcher.scala:55) at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.handler(UserManagementApi.scala:222) at com.normation.plugins.usermanagement.api.UserManagementApiImpl$DeleteUser$.handler(UserManagementApi.scala:222) at com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$20(ApiDatastructures.scala:660) at scala.util.Either.map(Either.scala:353) at com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$17(ApiDatastructures.scala:645)
It looks like a missing dependency, but even if it's the case, we should not see such exception: they need to be encapsulated in Box (5.0) or IO (5.1)
Actions