On 01/06/2010 08:29 AM, Andrew Whitworth wrote:
So the big question is this: is the smolder server not sending back
the proper response, or is the client program not properly receiving
it?
Sorry for this problem. Smolder has in fact changed it's urls a bit and
I suspect that the Parrot code that is doing the submitting wasn't
changed. The client programs that ship with smolder were changed, but
iirc Parrot has it's own version of this code so that it wouldn't rely
on a outside entity.
See if this attached patch fixes things.
--
Michael Peters
Index: lib/Parrot/Harness/Smoke.pm
===================================================================
--- lib/Parrot/Harness/Smoke.pm (revision 43393)
+++ lib/Parrot/Harness/Smoke.pm (working copy)
@@ -113,7 +113,7 @@
my $report_file = delete $test_env_data{report_file} || $SMOLDER_CONFIG{report_file};
my $url
= $SMOLDER_CONFIG{server}
- . '/app/developer_projects/process_add_report/'
+ . '/app/projects/process_add_report/'
. $project_id;
my $ua = LWP::UserAgent->new();
$ua->agent( 'Parrot::Harness::Smoke' );
@@ -137,10 +137,10 @@
if ($response->code == 302) {
my ($report_id) = $response->content =~ /Reported #(\d+) added/i;
- my $report_url = "$SMOLDER_CONFIG{server}/app/public_projects/report_details/$report_id";
+ my $report_url = "$SMOLDER_CONFIG{server}/app/projects/report_details/$report_id";
my $project_url
= $SMOLDER_CONFIG{server}
- . '/app/public_projects/smoke_reports/'
+ . '/app/projects/smoke_reports/'
. $project_id;
print "Test report successfully sent to Smolder at\n$report_url"
. "\nYou can see other recent reports at\n$project_url .\n\n";
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev