Skip to content

WorkspacePermission Endpoint Not Properly Handled on DELETE #5

@markwilliams970

Description

@markwilliams970

See http://stackoverflow.com/questions/13069691/how-to-delete-rally-workspacepermission-using-rest-api.

DeleteRequest against a valid WorkspacePermission ref fails with:

Exception in thread "main" java.io.IOException: HTTP/1.1 404 Could not determine Web Services Version from ''

Identified issue: The pattern defined for validating the requests was allowing only numbers and hence resources like these '9250166251u2788951014w1.js" were failing. After modifying the pattern string in Ref.java to below it worked fine. private static Pattern refPattern = Pattern.compile(".?/((?:/\w{2,}){1,2})/(\w+)(?:.js??.)$");

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions