On Mon, Jul 9, 2012 at 4:54 PM, Melanie Reiplinger <[email protected]> wrote: >>> >>> "http://<stanbol>/entityhub/entity?id=http://developer.yahoo.com/javascript/howto-proxy-falseaddress.html&create=false" >> >> update the Entity "howto-proxy-falseaddress.html"? >> update the Entity "howto-proxy.html"? >> something else? > > > hm, I expected something like: since the "howto-proxy-falseaddress.html" > does not exist, I should get some error because I'm referencig my > to-be-updated entity by a wrong ID. The content of the rdf file should be of > secondary relevance here (because if my ID is not addressing any existing > entity, the update should fail anyway). In fact, I expected that nothing > would be updated in this case. (wouldn't it be strange to update entity > "howto-proxy.html" when I pass some non-existing ID ?) >
As the check if the parsed id is present in the parsed data comes first you should get a "Bad Request" with a an according message. If the file would contain a triple with the subject "http://developer.yahoo.com/javascript/howto-proxy-falseaddress.html" you would get a "Bad Request" with the message telling you that you can not update an entity that does not exist on the Entityhub. I will try to use your exact scenario and check if I can reproduce. If not I will try to temporarily setup an test server for you to validate on the dev.iks-project.eu server for testing. best Rupert -- | Rupert Westenthaler [email protected] | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen
