Skip to content
This repository was archived by the owner on Jan 3, 2019. It is now read-only.

logic to remove prop from id for prop changed events#20

Open
yulgit1 wants to merge 1 commit intofcrepo4-archive:masterfrom
yulgit1:prop-added-logic
Open

logic to remove prop from id for prop changed events#20
yulgit1 wants to merge 1 commit intofcrepo4-archive:masterfrom
yulgit1:prop-added-logic

Conversation

@yulgit1
Copy link
Contributor

@yulgit1 yulgit1 commented Dec 13, 2013

curl -X PATCH -H "Content-Type: application/sparql-update" "http://localhost:8080/rest/test1/indexableObj2" -d "@sparqlupdate.txt"
PREFIX rdf: http://www.w3.org./1999/02/22-rdf-syntax-ns#
PREFIX dc: http://purl.org/dc/elements/1.1/
INSERT {
<> rdf:type http://purl.org/dc/elements/1.1/describable ;
dc:title "update3-some-resource-title" ;
dc:creator "some3-resource-creator"
}
WHERE { }

Results in 1 prop changed events with id "/test1/indexableObj2/dc:title". Check for this condition and remove property.

@ajs6f
Copy link
Contributor

ajs6f commented Dec 14, 2013

Looks like a merge problem...?
Also, could you add a test to demonstrate the condition we're guaranteeing with this change? Perhaps just a unit test would be fine, or you could add something to IndexerGroupIT?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants