Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

APIAddRadarAction broken

#16

Hi Tim

Been poking at API and found the radar addition nonfunctional. The patch below seems to fit the Radar model and follow the conventions of your post method.

diff --git a/main.py b/main.py index e6f62a4..dec27c5 100755 --- a/main.py +++ b/main.py @@ -312,9 +312,10 @@ class APIAddRadarAction(Handler):

   description = self.request.get("description")
   product = self.request.get("product")
   classification = self.request.get("classification")

  • reproducible = int(self.request.get("reproducible"))
  • reproducible = self.request.get("reproducible") product_version = self.request.get("product_version") originated = self.request.get("originated")
  • resolved = self.request.get("resolved") radar = Radar(title=title,
                 number=number,
                 user=user,
    
    

Jonathan Saggau

Reported by Jonathan Saggau · February 24th, 2009 @ 08:15 PM

State: new
Milestone: none

Activity

  1. Jonathan Saggau
    Jonathan Saggau

    Erg. So the markup messed-up the patch. I think it's clear enough what changes need to be made. Looks like the model was changed at some point and not the upload api.

    February 26th, 2009 @ 12:17 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.