Open GoogleCodeExporter opened 9 years ago
There's a test project file in the core project [1] containing only
- shortdesc
- name
- homepage
The tests in the core project pass, but that's no guarantee it works well in
the web interface. We could work with that example project though.
Note that in a few of the XML files you've attached in issues, I noticed that
you've stripped the rdf:about, leading to all projects submitting containing:
<Project rdf:about="http://registry.oss-watch.ac.uk/">
In the doapcreator javascript the rdf:about is generated (line 349) as:
http://registry.oss-watch.ac.uk/projects/shortname
where shortname is the 'Unique project tag' in the UI.
The rdf:about is the unique identification of the project. If you keep this the
same across all project you will get strange side-effects, as these will all be
linked to the same project in some form.
[1]
http://www.google.com/codesearch/p?hl=en#xLGJSZSNoAY/trunk/uk.ac.osswatch.simal.
core/src/main/resources/testData/testIngest.xml&q=testIngest.xml%20package:http:
//simal%5C.googlecode%5C.com&sa=N&cd=1&ct=rc
Original comment by sander.v...@oucs.ox.ac.uk
on 11 Mar 2011 at 1:42
It would be great to wrtite a unit test for the webapp that imports a minimal
project, like this one then retrieves all the main pages to see if there are
any major problems rendering.
We can then, as Sander suggests, use that as an example of the minimal project
data that is accepted.
Original comment by ross.gardler
on 17 Mar 2011 at 11:58
Original issue reported on code.google.com by
Stevage
on 10 Mar 2011 at 5:30