HughP / simal

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

DOAP form is failing silently #363

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm adding a project using the DOAP form. When I click on the submit button 
nothing happens.

The Error Console (Firefox) says:

Error: hex_sha1 is not defined
Source File: 
http://bombax.oucs.ox.ac.uk:8888/wookie/wservices/wookie.apache.org/widgets/doap
creator/scripts/doapform.js
Line: 104

Original issue reported on code.google.com by ross.gardler on 10 Dec 2010 at 11:41

GoogleCodeExporter commented 9 years ago
The error message suggests one of the JavaScript files is not loaded (from [1])
but I can't reproduce this problem.

However, there was another issue because the registry.oss-watch.ac.uk URL was 
not in the Wookie proxy white list, leading to the submission of any project 
being blocked. That's now fixed, could you test again? 

[1] http://www.pajhome.org.uk/crypt/md5/sha1.js 

Original comment by sander.v...@oucs.ox.ac.uk on 10 Dec 2010 at 1:55

GoogleCodeExporter commented 9 years ago
I'm re-opening this as it is not fixed, just resolved for this instance. I'm 
lowering the priority.

The bug is not this instance of it, the real problem is that it fails silently 
and no DOAP is produced at all. Thus a users time is wasted and no feedback is 
given.

We need to catch failures like this and report sensibly back to the user.

Original comment by ross.gardler on 10 Dec 2010 at 2:17