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

Cannot add children to direct containers #57

Closed
scossu opened this issue Apr 14, 2018 · 1 comment
Closed

Cannot add children to direct containers #57

scossu opened this issue Apr 14, 2018 · 1 comment
Labels
Milestone

Comments

@scossu
Copy link
Owner

scossu commented Apr 14, 2018

Environment

Operating system: Various

Python version: N/A

LAKEsuperior release, branch, or commit #: 1.0.0a13

Steps to reproduce

Create a direct container with PUT (currently POST is unavailable due to #56) and attempt to insert child resources.

Observed behavior

(from @acoburn 's post)

Once the direct container is successfully created, I am unable to create child resources in it (neither via PUT or POST). This is the response:

"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

But there is nothing in any of the logs, other than these lines in the access log:

127.0.0.1 - - [13/Apr/2018:11:24:50 -0400] "POST /ldp/dc4 HTTP/1.1" 500 291 "-" "curl/7.54.0"
127.0.0.1 - - [13/Apr/2018:11:35:11 -0400] "PUT /ldp/dc4/child1 HTTP/1.1" 500 291 "-" "curl/7.54.0"

Expected behavior

Resources should be created under the container with the correct relationships.

Other notes worth mentioning

Indirect containers might exhibit similar behavior. Needs testing.

@scossu scossu added the bug label Apr 14, 2018
@scossu scossu added this to the alpha.14 milestone Apr 14, 2018
scossu pushed a commit that referenced this issue Apr 15, 2018
scossu added a commit that referenced this issue Apr 15, 2018
Fix LDP-DC logic typo. Fixes #57.
@scossu
Copy link
Owner Author

scossu commented Apr 15, 2018

Fixed in #58

@scossu scossu closed this as completed Apr 15, 2018
@scossu scossu mentioned this issue Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant