Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the SPARQL node type deletion bug to return a clear error message from the backend. #412

Closed
wants to merge 2 commits into from

Conversation

lsitu
Copy link
Contributor

@lsitu lsitu commented Jul 11, 2014

https://www.pivotaltracker.com/s/projects/684825/stories/72805066

I think I've fixed it to return a clear error message for deleting a not assigned registered node type now. Attached is the screen shot with the error message:
screen shot 2014-07-11 at 9 46 25 am

@@ -379,7 +382,15 @@ public Response updateSparql(@PathParam("path")
LOGGER.info(
"Found these problems updating the properties for {}: {}",
path, problems);
return status(FORBIDDEN).entity(problems.toString())
String error = "";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use StringBuilder instead of String.

@lsitu
Copy link
Contributor Author

lsitu commented Jul 15, 2014

Updated as suggested:
lsitu@8e0deda

@awoods
Copy link

awoods commented Jul 25, 2014

Resolved with: 386906e

Addresses: https://www.pivotaltracker.com/story/show/72805066

@awoods awoods closed this Jul 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants