Hi,Christian,
I had tried with an inexistent review-request-id 1000, Then the
post-review will reposrt error info as follows:
-----------------------------------------------------------------------------------------------------------
>>> Looking for '192.168.3.155 /' cookie in /data1/John/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> HTTP GETting api/json/reviewrequests/1000/
Unable to access http://192.168.3.155:8080/api/json/reviewrequests/1000/
(404). The host path may be invalid
>>>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Page not found at /api/json/reviewrequests/1000/</title>
<meta name="robots" content="NONE,NOARCHIVE">
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; background:#eee; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; margin-bottom:.4em; }
h1 span { font-size:60%; color:#666; font-weight:normal; }
table { border:none; border-collapse: collapse; width:100%; }
td, th { vertical-align:top; padding:2px 3px; }
th { width:12em; text-align:right; color:#666; padding-right:.
5em; }
#info { background:#f6f6f6; }
#info ol { margin: 0.5em 4em; }
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
</style>
</head>
<body>
<div id="summary">
<h1>Page not found <span>(404)</span></h1>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://192.168.3.155:8085/api/json/reviewrequests/1000/</td>
</tr>
</table>
</div>
<div id="info">
<p>No ReviewRequest matches the given query.</p>
</div>
<div id="explanation">
<p>
You're seeing this error because you have <code>DEBUG = True</
code> in
your Django settings file. Change that to <code>False</code>,
and Django
will display a standard 404 page.
</p>
</div>
</body>
</html>
-----------------------------------------------------------------------------------------------------------
Best Regards!
On 3月3日, 下午5时35分, Christian Hammond <[email protected]> wrote:
> Off-hand, I'm not sure what will happen when you try this, but you can go
> ahead and give it a try. If it does crash, feel free to file a bug and we'll
> look into it.
>
> Christian
>
> --
> Christian Hammond - [email protected]
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Tue, Mar 2, 2010 at 11:09 PM, JohnHenry <[email protected]> wrote:
> > Hi, all
> > I see that --review-request-id option of post-review is just for
> > updating existing reviewrequest. But I don't know what will happen if
> > the value of this option is not an existing reviewrequest id. Will it
> > creating a new review request with this id value, Or just report an
> > Exception?
>
> > Best Regards!
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > [email protected]<reviewboard%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en
--
Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en