Re: [Apache Bloodhound] #668: Negative integers for ticket IDs

2014-01-05 Thread Apache Bloodhound
#668: Negative integers for ticket IDs
---+---
  Reporter:  olemis|  Owner:  rjollos
  Type:  defect| Status:  review
  Priority:  blocker   |  Milestone:  Release 8
 Component:  multiproduct  |Version:
Resolution:|   Keywords:  bep-0010 , postgresql
---+---

Comment (by rjollos):

 The patch from comment:12 is included in changes for trac:#2311, so it
 appears there is nothing left to do here.

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/668#comment:15
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #668: Negative integers for ticket IDs

2014-01-05 Thread Apache Bloodhound
#668: Negative integers for ticket IDs
---+---
  Reporter:  olemis|  Owner:  rjollos
  Type:  defect| Status:  closed
  Priority:  blocker   |  Milestone:  Release 8
 Component:  multiproduct  |Version:
Resolution:  fixed |   Keywords:  bep-0010 , postgresql
---+---
Changes (by rjollos):

 * status:  review = closed
 * resolution:   = fixed


-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/668#comment:16
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #654: Rows in ticket query result set not sorted by column

2014-01-05 Thread Apache Bloodhound
#654: Rows in ticket query result set not sorted by column
---+---
  Reporter:  olemis|  Owner:  gjm
  Type:  defect| Status:  accepted
  Priority:  blocker   |  Milestone:  Release 8
 Component:  multiproduct  |Version:
Resolution:|   Keywords:  ticket query, sorting
---+---

Comment (by olemis):

 This is what I did , I applied [attachment:t654_r1551811_query_sort.diff
 this patch] like shown below

 {{{#!sh

 $ hg qapplied
 t654/t654_r1551811_query_sort.diff

 $ hg log -r qparent
 changeset:   506:ac7476a0b5da
 tag: qparent
 tag: svn-1551811
 user:rjollos@13f79535-47bb-0310-9956-ffa450edef68
 date:Wed Dec 18 02:31:10 2013 +
 summary: 0.8dev: Added Bootstrap styling to the diff form.

 }}}

 ... and , even if rows seem to be sorted by id , priority ... , I noticed
 this error in the logs

 [[span(Log entry, class=label label-important)]]
 {{{
 2014-01-05 21:35:59,541 Trac[theme] ERROR: BH: Quick create ticket failed
 column product specified more than once
 LINE 1: ...one,component,version,resolution,time,changetime, product) V...
 }}}

 [[span(Traceback, class=label label-important)]]
 {{{#!py

 Traceback (most recent call last):
   File /path/to/bloodhound/bloodhound_theme/bhtheme/theme.py, line 595,
 in process_request
 product, tid = self.create(req, summary, desc, attrs, True)
   File /path/to/bloodhound/bloodhound_theme/bhtheme/theme.py, line 638,
 in create
 t.insert()
   File /path/to/bloodhound/trac/trac/ticket/model.py, line 241, in
 insert
 [values[name] for name in std_fields])
   File
 /path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py,
 line 145, in execute
 return self.cursor.execute(sql, args=args)
   File
 /path/to/bloodhound/bloodhound_multiproduct/multiproduct/dbcursor.py,
 line 85, in execute
 return super(BloodhoundIterableCursor,
 self).execute(translate_sql(self.env, sql), args=args)
   File /path/to/bloodhound/trac/trac/db/util.py, line 65, in execute
 return self.cursor.execute(sql_escape_percent(sql), args)
 ProgrammingError: column product specified more than once
 LINE 1: ...one,component,version,resolution,time,changetime, product) V...
  ^
 }}}

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/654#comment:13
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #564: Inconsistencies in dashboard widgets

2014-01-05 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  rjollos
  Type:  defect  | Status:  review
  Priority:  major   |  Milestone:  Release 8
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-

Comment (by olemis):

 As reported by ogaerick in comment:12:ticket:688 , the following error was
 logged by timeline widget when accessing /dashboard page after applying
 patches on top of r1554007


 [[span(Log entry, class=label label-important)]]
 {{{
 2014-01-05 22:01:45,792 Trac[web_ui] ERROR: -
 10e44756-1591-48c4-8a65-a76f276deb6f - Error rendering widget Timeline
 with options {'args': {}}
 }}}

 [[span(Traceback, class=label label-important)]]
 {{{#!py
 Traceback (most recent call last):
   File /path/to/bloodhound/bloodhound_dashboard/bhdashboard/web_ui.py,
 line 269, in _render_widget
 return wp.render_widget(name, ctx, options)
   File /path/to/bloodhound/bloodhound_dashboard/bhdashboard/util.py,
 line 132, in widget_name_checker
 return f(self, name, *args, **kwargs)
   File
 /path/to/bloodhound/bloodhound_dashboard/bhdashboard/widgets/timeline.py,
 line 167, in render_widget
 timemdl = _env[TimelineModule]
 UnboundLocalError: local variable '_env' referenced before assignment
 }}}

 I've updated the corresponding
 [attachment:t564_r1545220_product_dashb_timeline.diff patch] in spite of
 fixing this

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/564#comment:9
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker


Re: [Apache Bloodhound] #688: TicketQuery priority, component, type not showing

2014-01-05 Thread Apache Bloodhound
#688: TicketQuery priority, component, type not showing
---+---
  Reporter:  ogaerick  |  Owner:  olemis
  Type:  defect| Status:  accepted
  Priority:  blocker   |  Milestone:  Release 8
 Component:  multiproduct  |Version:  0.7.0
Resolution:|   Keywords:  query
---+---

Comment (by olemis):

 Replying to [comment:12 ogaerick]:
  Tried to install like described, getting an exception in dashboard view
 now

 Please see comment:9:ticket:564 . Is it the same error you are noticing ?
 If so , could please try again with updated patches ?

-- 
Ticket URL: https://issues.apache.org/bloodhound/ticket/688#comment:14
Apache Bloodhound https://issues.apache.org/bloodhound/
The Apache Bloodhound issue tracker