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

2014-06-03 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  rjollos
  Type:  defect  | Status:  review
  Priority:  major   |  Milestone:  Release 9
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-
Changes (by rjollos):

 * milestone:  Release 8 => Release 9


Comment:

 Deferring so that we can push out Release 8.

-- 
Ticket URL: 
Apache 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: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-11-28 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
-+-
Changes (by rjollos):

 * owner:   => rjollos
 * milestone:   => Release 8


-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-11-28 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:
  Type:  defect  | Status:  review
  Priority:  major   |  Milestone:
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-
Changes (by olemis):

 * owner:  olemis =>
 * status:  accepted => review


-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-11-28 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  olemis
  Type:  defect  | Status:  accepted
  Priority:  major   |  Milestone:
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-

Comment (by olemis):

 Submitted patches finally implement accurate measurements in /products
 dashboards . The previous ones have been refreshed (mainly to create a new
 module for timeline widget unit tests) whereas the
 [attachment:t564_r1545220_product_dashb_timeline.diff most recent one] is
 aimed at fetching sibling product activity in /products dashboard. The
 solution is quite generic since it's built upon resource system's built-in
 capabilities to load component managers by neighborhood. This means that
 activity filters are now supported for resources hosted by foreign
 environments.

 No regressions have been introduced considering the
 [http://pastebin.com/i3tvDMQA test report]. Therefore I'm raising a
 request for review. I've update [comment:3 patch order] accordingly.

-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-11-25 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  olemis
  Type:  defect  | Status:  accepted
  Priority:  major   |  Milestone:
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-

Comment (by olemis):

 Replying to [comment:4 olemis]:
 > I have refreshed the former patches and attached a new one which is a
 first attempt at rendering accurate ticket field values widgets embedded
 in /products dashboards .

 I have updated [comment:3 patch order] . The failures and errors in
 [http://pastebin.com/3HzfU2qp test report] are exactly the same I get
 after running the test suite with no patches applied , therefore
 minimizing the risk of regressions .

-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-11-25 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  olemis
  Type:  defect  | Status:  accepted
  Priority:  major   |  Milestone:
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-

Comment (by olemis):

 I have refreshed the former patches and attached a new one which is a
 first attempt at rendering accurate ticket field values widgets embedded
 in /products dashboards .

-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-11-18 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  olemis
  Type:  defect  | Status:  accepted
  Priority:  major   |  Milestone:
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-

Comment (by olemis):

 ... and finally , uploaded patches will upgrade widgets to render (in a
 given product context) accurate stats and query result sets involving
 tickets owned by a different product. For instance this will improve
 current /products/... dashboards . There are a few important points to
 consider:

   - The current implementation of `TicketGroupStats` widget only supports
 sets of
 tickets bound to a single product
 * A warning message will be displayed if tickets supplied in to
 stats provider
   belong in multiple products
 * Ticket #714 is aimed at tracking work to compute stats for sets of
 tickets
   in different products
   - The visual aspects of /products (/milestone , ...) dashboards is
 slightly changed
   - Product-aware batch updates module does not rely upon Trac's
 `add_template_data`
 method in product context. The new multi-product algorithm is always
 used in spite of
 avoiding `ResourceNotFound` errors.
   - The test cases are somehow incomplete because they are focused on
 testing widget data;
 nonetheless some errors might occur while expanding widgets templates
 * That's the goal of ticket #715

 This is an early preview . Details :

 {{{#!sh

 $ hg log -r qparent
 changeset:   492:e9da4f695311
 tag: qparent
 tag: svn-1542473
 user:rjollos@13f79535-47bb-0310-9956-ffa450edef68
 date:Sat Nov 16 08:01:26 2013 +
 summary: 0.8dev: Added a functional test for rendering forbidden
 pages. Refs #667.

 $ hg qapplied
 t564/t564_r1536977_product_dashboard.tests.diff
 t564/t564_r1536977_external_ticket_stats.diff
 t564/t564_r1542167_theme_dashb_progress.diff
 t564/t564_r1542167_product_dashb_query_grid.diff

 }}}

 This is still work in progress since there are still patches pending for
 timeline and ticket fields widgets in dashboards for sibling products. Up
 to this point most tests pass ... see the [http://pastebin.com/Mtxddw2m
 report] for further details.

-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-11-01 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  olemis
  Type:  defect  | Status:  accepted
  Priority:  major   |  Milestone:
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-
Changes (by olemis):

 * status:  new => accepted
 * owner:  nobody => olemis


-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker


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

2013-06-19 Thread Apache Bloodhound
#564: Inconsistencies in dashboard widgets
-+-
  Reporter:  olemis  |  Owner:  nobody
  Type:  defect  | Status:  new
  Priority:  major   |  Milestone:
 Component:  dashboard   |Version:
Resolution:  |   Keywords:  version, component, milestone,
 |  widgets
-+-
Changes (by olemis):

 * owner:   => nobody
 * keywords:   => version, component, milestone, widgets
 * component:   => dashboard


-- 
Ticket URL: 
Apache Bloodhound 
The Apache Bloodhound issue tracker