HughP / simal

Automatically exported from code.google.com/p/simal
0 stars 0 forks source link

DOAP creator failing silently on submission #418

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When a project is submitted via the DOAP creator it failed silently. Submitting 
the RDF via the RDF form worked fine. The RDF created was:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" 
xmlns:v="http://www.w3.org/2006/vcard/ns#" xmlns:dc="http://purl.org/dc/core/" 
xmlns:dcterms="http://purl.org/dc/terms/" 
xmlns:simal="http://oss-watch.ac.uk/ns/0.2/simal#" 
xmlns:cerif="http://www.dotac.info/ontology/CERIF2008.owl#" > <Project 
rdf:about="http://registry.oss-watch.ac.uk/projects/rave"> 
<created>2011-7-29</created> <name>Apache Rave (Incubating)</name> 
<shortname>rave</shortname> <shortdesc xml:lang="en">An OpenSocial gadget and 
W3C Widget portal engine</shortdesc> <description xml:lang="en">Apache Rave is 
a new web and social mashup engine. It will provide an out-of-the-box as well 
as an extendible lightweight Java platform to host, serve and aggregate 
(Open)Social Gadgets and services through a highly customizable and Web 2.0 
friendly front-end. Rave is targeted as engine for internet and intranet 
portals and as building block to provide context-aware personalization and 
collaboration features for multi-site/multi-channel (mobile) oriented and 
content driven websites and (social) network oriented services and platforms. 
For the OpenSocial container and services the (Java) Apache Shindig will be 
integrated. At a later stage further generalization is envisioned to also 
transparently support W3C Widgets using Apache Wookie. </description> <homepage 
rdf:resource="http://incubator.apache.org/rave/"/> 
<programming-language>Java</programming-language> <developer> <foaf:Person 
rdf:about="http://registry.oss-watch.ac.uk/people/5eeb8fab4d5bdf38c7a9d9f2a5bfe9
aeb398035f"> <foaf:name>Matt Franklin</foaf:name> <foaf:mbox 
rdf:resource="mailto:redacted@mitre.org" /> 
<foaf:mbox_sha1sum>5eeb8fab4d5bdf38c7a9d9f2a5bfe9aeb398035f</foaf:mbox_sha1sum> 
</foaf:Person> </developer> <developer> <foaf:Person 
rdf:about="http://registry.oss-watch.ac.uk/people/3804184b5a40e462876f1ba86b39d1
646134a85a"> <foaf:name>Ross Gardler</foaf:name> <foaf:mbox 
rdf:resource="mailto:redacted@apache.org" /> 
<foaf:mbox_sha1sum>3804184b5a40e462876f1ba86b39d1646134a85a</foaf:mbox_sha1sum> 
</foaf:Person> </developer> <developer> <foaf:Person 
rdf:about="http://registry.oss-watch.ac.uk/people/ff217562ad28017ce454ca946a6d92
21d2c6be4d"> <foaf:name>Suresh Marru</foaf:name> <foaf:mbox 
rdf:resource="mailto:redacted@apache.org" /> 
<foaf:mbox_sha1sum>ff217562ad28017ce454ca946a6d9221d2c6be4d</foaf:mbox_sha1sum> 
</foaf:Person> </developer> <developer> <foaf:Person 
rdf:about="http://registry.oss-watch.ac.uk/people/96dcb02f38b9c5f6db5f13be7e10aa
f48fef3e12"> <foaf:name>Marlon Pierce</foaf:name> <foaf:mbox 
rdf:resource="mailto:redacted@cs.indiana.edu" /> 
<foaf:mbox_sha1sum>96dcb02f38b9c5f6db5f13be7e10aaf48fef3e12</foaf:mbox_sha1sum> 
</foaf:Person> </developer> <developer> <foaf:Person 
rdf:about="http://registry.oss-watch.ac.uk/people/724af75c717adcc0fb3e6f318bfb74
13adc3bde7"> <foaf:name>Sander van der Waal</foaf:name> <foaf:mbox 
rdf:resource="mailto:redacted@oucs.ox.ac.uk" /> 
<foaf:mbox_sha1sum>724af75c717adcc0fb3e6f318bfb7413adc3bde7</foaf:mbox_sha1sum> 
</foaf:Person> </developer> <repository> <SVNRepository> <location 
rdf:resource="http://svn.apache.org/repos/asf/incubator/rave"/> <browse 
rdf:resource="http://svn.apache.org/repos/asf/incubator/rave"/> 
</SVNRepository> </repository> <bug-database 
rdf:resource="https://issues.apache.org/jira/browse/rave"/> <license 
rdf:resource="http://usefulinc.com/doap/licenses/asl20"/> </Project> </rdf:RDF>

Original issue reported on code.google.com by ross.gardler on 29 Jul 2011 at 2:00

GoogleCodeExporter commented 9 years ago
I checked this and it turned out the registry.oss-watch.ac.uk host was somehow 
not in the white list of Wookie anymore. This led to Wookie not authorizing 
proxy requests from the Doapcreator widget to the Simal server.

Adding registry.oss-watch.ac.uk to Wookie's white list solved the problem.

Original comment by sander.v...@gmail.com on 4 Aug 2011 at 9:40

GoogleCodeExporter commented 9 years ago
It is possible to add an allowed whitelist to the config.xml file. This doesn't 
work for widgets uploaded by the web interface, but does work for those 
deployed by an admin on the filesystem.

Add, for example <access origin="http://twitter.com" subdomains="true"/>

Original comment by rgard...@opendirective.com on 4 Aug 2011 at 10:08