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)
Updated by Elaad FURREEDAN about 5 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0-1.3 to 5.0-1.4
Updated by Félix DALLIDET about 5 years ago
I got the exact same one when trying to create a user in 6.0
Updated by Anonymous almost 5 years ago
- Status changed from In progress to Pending release
Applied in changeset rudder:rudder-plugins|78cf502ac3046fcb087588228bf6baa938da2121.
Updated by Elaad FURREEDAN almost 5 years ago
- Related to Bug #16535: Missing scheme error when adding an user from the UI added
Updated by Vincent MEMBRÉ almost 5 years ago
- Status changed from Pending release to Released
Actions