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

Add test that should pass... but does not :( #816

Closed
wants to merge 1 commit into from

Conversation

awoods
Copy link

@awoods awoods commented Jun 19, 2015

This PR should not be merged into master. It should be incorporated (along with associated functional code) into PR-811.
An integration test on migration-utils revealed that PR-811 introduced an error:
http://jenkins.fcrepo.org/job/migration-utils/org.fcrepo.migration$migration-utils/115/testReport/junit/org.fcrepo.migration.handlers/BasicObjectVersionHandlerIT/org_fcrepo_migration_handlers_BasicObjectVersionHandlerIT/

PR-811 has been reverted from the master branch:
50a04b5

Rework of the following ticket is required: https://jira.duraspace.org/browse/FCREPO-1409

@ajs6f
Copy link
Contributor

ajs6f commented Jun 21, 2015

Does this connect to a ticket?

@osmandin
Copy link
Contributor

@awoods I'd like to confirm whether the statement in your PR is valid or not. When I change the underlying check logic (which did have a bug because it was counting on WHERE appearing after INSERT) and pass the statement as OK, I get an exception from Jena:

com.hp.hpl.jena.query.QueryParseException: Encountered " <INSERT_DATA> "INSERT DATA "" at line 1, column 88.
Was expecting one of:

";" ...

@awoods
Copy link
Author

awoods commented Jun 22, 2015

I am checking it now, but in the meantime you can run the migration-utils against your original PR to see the error. If you enable TRACE on migration-utils, you will see the exact sparql-update request that fails.

@awoods
Copy link
Author

awoods commented Jun 22, 2015

Closing this PR in favor of an updated PR to @osmandin's 1409 branch.
osmandin#5

@awoods awoods closed this Jun 22, 2015
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